Documentation
¶
Overview ¶
this package contains modified code based on following github repo: https://github.com/jaredwilkening/httpclient
this package contains modified code based on following github repo: https://github.com/jaredwilkening/httpclient
Index ¶
- func Delete(url string, header Header, data io.Reader, user *Auth) (resp *http.Response, err error)
- func Do(t string, url string, header Header, data io.Reader, user *Auth) (*http.Response, error)
- func Get(url string, header Header, data io.Reader, user *Auth) (resp *http.Response, err error)
- func Post(url string, header Header, data io.Reader, user *Auth) (resp *http.Response, err error)
- func Put(url string, header Header, data io.Reader, user *Auth) (resp *http.Response, err error)
- type Auth
- type Form
- type Header
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
func GetUserByBasicAuth ¶
func GetUserByTokenAuth ¶
support multiple token types with datatoken backwards compatable, if no type given default to OAuth
Click to show internal directories.
Click to hide internal directories.