* Cantinho Satkeys

Refresh History
  • JPratas: dgtgtr Pessoal  101041 Vamos Todos Ajudar na Manutenção do Forum, Basta 1 Euro a Cada Um  43e5r6
    Hoje às 19:02
  • cereal killa: Todos os anos e preciso sempre a pedir esmolas e um simples gesto de nem que seja 1€ que fosse dividido por alguns ajudava, uma coisa e certa mesmo continuando isto vai levar volta a como se tem acesso aos tópicos, nunca se quis implementar esta ideia mas quem não contribuir e basta 1 € por ano não terá acesso a sacar nada, vamos ver desenrolar disto mais ate dia 7,finalmente um agradecimento em nome do satkeys a quem já fez a sua doação, obrigada
    Hoje às 15:07
  • m1957: Por favor! Uma pequena ajuda, não deixem que o fórum ecerre. Obrigado!
    Hoje às 01:10
  • j.s.: [link]
    02 de Julho de 2025, 21:09
  • j.s.: h7t45 ao membro anónimo pela sua ajuda  49E09B4F
    02 de Julho de 2025, 21:09
  • j.s.: dgtgtr a todos  4tj97u<z
    01 de Julho de 2025, 17:18
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  4tj97u<z
    29 de Junho de 2025, 11:59
  • m1957: Foi de boa vontade!
    28 de Junho de 2025, 00:39
  • j.s.: passem f.v. por aqui [link]    h7t45
    27 de Junho de 2025, 17:20
  • j.s.: renovamos o nosso pedido para uma pequena ajuda para pagemento  do nosso forum
    27 de Junho de 2025, 17:19
  • j.s.: h7t45 aos convidados de honra Felizcunha e M1957 pela ajuda
    27 de Junho de 2025, 17:15
  • j.s.: dgtgtr a todos  4tj97u<z
    27 de Junho de 2025, 17:13
  • FELISCUNHA: ghyt74  pessoal  4tj97u<z
    27 de Junho de 2025, 11:51
  • JPratas: try65hytr A Todos  classic k7y8j0
    27 de Junho de 2025, 04:35
  • m1957: Por favor vaamos todos dar uma pequena ajuda, para não deixar encerrar o fórum! Obrigado.
    26 de Junho de 2025, 23:45
  • FELISCUNHA: j.s. enviei PM  101041
    26 de Junho de 2025, 21:33
  • FELISCUNHA: try65hytr  pessoal   htg6454y
    26 de Junho de 2025, 21:33
  • JPratas: try65hytr Pessoal  4tj97u<z
    26 de Junho de 2025, 02:28
  • cereal killa: Boa Tarde Pessoal E com enorme tristeza que depois de 15 anos que idealizei e abri este fórum vejo que esta na iminência de fechar portas porque ninguém tenta ajudar o pagamento do servidor, mas cada ano e sempre difícil arranjar almas caridosas que nos bom ajudando mas este ano esta complicado, mas infelizmente e como diz o j.s dia 5/07 se não houver algumas ajudas esta vez vai mesmo fechar…..e pena e triste mas tudo na vida tem fim. obrigada cereal killa
    25 de Junho de 2025, 19:40
  • j.s.: [link]
    23 de Junho de 2025, 15:58

Autor Tópico: How to develop a productive HTTP client in Golang (Go)  (Lida 167 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline mitsumi

  • Sub-Administrador
  • ****
  • Mensagens: 121842
  • Karma: +0/-0
How to develop a productive HTTP client in Golang (Go)
« em: 20 de Outubro de 2020, 17:11 »

How to develop a productive HTTP client in Golang (Go)
Video: .mp4 (1280x720, 30 fps(r)) | Audio: aac, 48000 Hz, 2ch | Size: 3.72 GB
Genre: eLearning Video | Duration: 45 lectures (9 hour, 43 mins) | Language: English

 Stop choosing between performant and testable HTTP clients. We're building one from scratch!

What you'll learn

    Understand the paradigms behind the Go programming language.
    What an HTTP client is.
    How to perform HTTP calls in Go.
    Issues and blocks when working with native HTTP client.
    How to design a Go library from scratch using Modules.
    How to design a public API: Interfaces and methods.
    How to provide mocking features out of the box.
    Unit, integration and functional testing our HTTP client.
    Most important: End up with a production-ready HTTP client that you can use without worrying about performance!

Requirements

    Just complete the Go Tour available at Golang's website.

Description

Have you ever called a REST API from your Go program? Did you implemented your own HTTP client or did you ended up using some of the thousand libraries out there? Do you know what your HTTP client is doing in the background?

In this course we're starting from scratch! We're going to remember how a basic HTTP call looks like by digging into the request & response objects. We're going to write a basic HTTP client to perform HTTP requests and then use it in productive applications. What issues do we have? Can we scale our applications by following this approach? Of course not! That's why we're creating an HTTP client library that provides:

    Fast, reliable and friction-free HTTP connections.

    Support for all HTTP methods: GET, POST, PUT, DELETE, PATCH and more!

    A Concurrency-Safe HTTP client that you can use without worrying about performance.

    Content type management and optimization.

    Mocking features out of the box.

    A clean interface in case you want to unit test your code without relying on integration testing features.

    A robust implementation so you won't need any external dependency whatsoever.

    Completely customizable interface: timeouts, transport layer, custom HTTP client and lots of useful features.

    A library that is PRODUCTION-READY!

If you're looking to integrate a 3rd party REST APIs in your code, you'll need to perform an HTTP call to it. Make sure you take a look at this course before even considering alternatives out there that will force you to use different dependencies for running, testing and extending your code! As Robert Pike says: "A little copying is much better than a little dependency". In this course we're not only getting rid of the dependencies but we're also getting rid of the copying. We're not using anything more than the Go's standard library to design & develop our own HTTP client.

This client will the baseline for all of the applications we're going to build later, making our business scale and grow as fast as we can Go.

Take a look at the preview lessons you have available to have an idea about the structure and content of the course. I know you're going to enjoy it! If you have any doubt, take a look at my other courses and see what my students have to say!

See you on the other side!

Who this course is for:

    Software engineers.
    Software developers.
    QA engineers.
    Tech Leads & Architects.

Download link:
Só visivel para registados e com resposta ao tópico.

Only visible to registered and with a reply to the topic.

Links are Interchangeable - No Password - Single Extraction