Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTimeout = time.Second * 30
Variables ¶
View Source
var DefaultHttpHeaders = map[string]string{ Header.Accept: "application/json", Header.AcceptEncoding: "gzip, deflate", Header.ContentType: "application/json; charset=UTF-8", }
View Source
var Header = &headerList{
Accept: "Accept",
AcceptEncoding: "Accept-Encoding",
AcceptLanguage: "Accept-Language",
Authorization: "Authorization",
ContentEncoding: "Content-Encoding",
ContentType: "Content-Type",
UserAgent: "User-Agent",
}
Functions ¶
func NewDefaultRequester ¶
func ProduceDefaultClient ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.