Documentation ¶
Index ¶
- Variables
- func Get(url string) (resp *http.Response, err error)
- func Head(url string) (resp *http.Response, err error)
- func Post(url string, contentType string, body io.Reader) (resp *http.Response, err error)
- func PostForm(url string, data url.Values) (resp *http.Response, err error)
- func SetDefaultClientTimeout(t time.Duration)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClient = http.Client{ Transport: &http2.Transport{}, }
View Source
var (
ErrEmptyHostAddress = errors.New("empty host addr")
)
View Source
var TRSClient = &trsh2.DefaultClient
Functions ¶
func SetDefaultClientTimeout ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.