Documentation ¶ Index ¶ func Ready(method Method, url string, options *Options) *biu type AllowRedirects type Body type Cookie type Method type Options type Protocol type Proxy type UrlParam Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Ready ¶ func Ready(method Method, url string, options *Options) *biu Types ¶ type AllowRedirects ¶ type AllowRedirects struct { Max uint Protocols []Protocol Strict bool Referer bool TrackRedirects bool } type Body ¶ type Body map[string]interface{} type Cookie ¶ type Cookie = http.Cookie type Method ¶ type Method string const ( MethodGet Method = "GET" MethodPost Method = "POST" MethodPut Method = "PUT" MethodPatch Method = "PATCH" MethodDelete Method = "DELETE" ) type Options ¶ type Options struct { //AllowRedirects AllowRedirects //HttpErrors bool //DecodeContent bool //Verify bool Cookies []*Cookie //Proxy map[Proxy]string // use `,` for delimiter Headers map[string]string Body *Body UrlParam *UrlParam } type Protocol ¶ type Protocol string const ( ProtocolHttp Protocol = "http" ProtocolHttps Protocol = "https" ) type Proxy ¶ type Proxy string const ( ProxyHttp Proxy = "http" ProxyHttps Proxy = "https" ProxyNo Proxy = "no" ) type UrlParam ¶ type UrlParam map[string]string Source Files ¶ View all Source files ahh.go biu.go options.go types.go Click to show internal directories. Click to hide internal directories.