Golang, Go, Software Development, Microservices, Networking.
*http.Client instance and add a timeout of 5 seconds. This is to avoid the client indefinitely hanging on the HTTP server. This cannot be done with a simple client. We should use http.Client struct and call a Get method. client struct architecture This version of the client is slightly different