package
1.0.1
Repository: https://github.com/jlc-group/golang-common.git
Documentation: pkg.go.dev

# Functions

NewClient init http client.
NewClientWithDebug init http client with debug config.
WithRetryMax sets max retry of the client options.
WithTimeout sets timeout of the client options.

# Constants

No description provided by the author
No description provided by the author

# Structs

Response struct.

# Interfaces

Client provided for mock.

# Type aliases

OptionClient represents an option for the http client.
SendOptions for attached data through a request Example should be add query params (http://abcd.com?user=ec&limit=5) or header SendOptions { "queries": map[string]interface{}{ "user": "ec", "limit": "5", }, "headers": map[string]interface{}{ "xxx": "abc", "Content-Type": "application/json", }, }.