Documentation
¶
Index ¶
- func DoGet(c *http.Client, url string) (body []byte, e error)
- func DoPost(c *http.Client, url string, contentType string, body io.Reader) (resp []byte, e error)
- func GetAuthToken() string
- func GetClient(verify bool) *http.Client
- func SetAuthToken() error
- func Validate(w http.ResponseWriter, r *http.Request) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAuthToken ¶
func SetAuthToken() error
SetAuthToken sets the session token Requires that the config has been set up before calling
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.