Documentation ¶
Index ¶
- func Delete(url string, header Header, data io.Reader) (resp *http.Response, err error)
- func Do(t string, url string, header Header, data io.Reader) (*http.Response, error)
- func Get(url string, header Header, data io.Reader) (resp *http.Response, err error)
- func Post(url string, header Header, data io.Reader) (resp *http.Response, err error)
- func Put(url string, header Header, data io.Reader) (resp *http.Response, err error)
- func SetBasicAuth(username, password string)
- func SetTokenAuth(token string)
- type Auth
- type Form
- type Header
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetBasicAuth ¶
func SetBasicAuth(username, password string)
func SetTokenAuth ¶
func SetTokenAuth(token string)
Types ¶
Click to show internal directories.
Click to hide internal directories.