Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface { Request(m Method, url string, parameters ...map[string]string) Requester RequestAdapter(adapter func(req *http.Request) *http.Request) Client HandleRedirect(flag bool) Client Header(k, v string) Client }
Client interface
type Method ¶
type Method int8
Method represent http method
const ( // Get represnet http GET method Get Method = iota // Post represnet http POST method Post // Put represnet http PUT method Put // Delete represnet http DELETE method Delete // Head represent http HEAD method Head // Options represent http OPTION method Options // Patch represent http PATCH method Patch // Copy represent http COPY method Copy )
Click to show internal directories.
Click to hide internal directories.