Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultHttpOptions = &HttpOptions{ SslVerify: false, ContentType: "application/json", Timeout: 2000, }
Functions ¶
This section is empty.
Types ¶
type HttpClient ¶
type HttpClient interface {
DoGet(headers map[string]string, url string, options *HttpOptions) (*HttpResponse, error)
}
func NewHttpClient ¶
func NewHttpClient(timeout int) HttpClient
type HttpOptions ¶
type HttpResponse ¶
Click to show internal directories.
Click to hide internal directories.