Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfig ¶
type APIConfig struct { Host string Path string Query map[string]string // Query use for http get request for set query params example.com/x?q1=v1&q2=v2 Headers map[string]string // Headers set http header request }
APIConfig use for provider standard external api path address
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetValidator ¶
func (c *Client) GetValidator() *validator.Validate
type Option ¶
type Option func(client *Client)
func WithCustomClient ¶
WithCustomClient use custom http httpClient instead default httpClient
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
func (*Response) GetHttpResponse ¶
GetHttpResponse return http response
Click to show internal directories.
Click to hide internal directories.