Categorygithub.com/digitalcircle-com-br/httpcli
modulepackage
0.0.0-20220305231642-c8639394c3b0
Repository: https://github.com/digitalcircle-com-br/httpcli.git
Documentation: pkg.go.dev

# README

httpcli

Simple http client in go, w some bonuses

# Functions

In case a singleton is enought, you can use this particular instance.
New - creates a new Client.

# Structs

Client represents the http client itself, but wraps the original http.Client within it.Headers property are standard headers you want to send with every request.Basepath is the url prefix, in case this client will do all calls to the same endpoint.This is usefull when you may need to switch endpoints, like DEV/QAS/PRD, but all remainder path portion remains the same.
No description provided by the author