Versions in this module Expand all Collapse all v1 v1.0.3 Jan 6, 2020 v1.0.2 Jan 6, 2020 Changes in this version + type Options struct + Body []byte + Header map[string]string + Method string + TLSConfig *tls.Config + Timeout time.Duration + func NewDefaultOptions() Options + type Resp struct + Body []byte + StatusCode int + func Fetch(url string, op Options) (Resp, error) + func (resp Resp) BindJSON(s interface{}) error + func (resp Resp) ToString() string