Documentation ¶
Index ¶
- func NotAllowed(w http.ResponseWriter, r *http.Request)
- func NotFound(w http.ResponseWriter, r *http.Request)
- func SendPOSTRequest(url, token string, data []byte, customHeaders http.Header) (*http.Response, error)
- func SendRequest(method, url, token string, data []byte, customHeaders http.Header) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotAllowed ¶
func NotAllowed(w http.ResponseWriter, r *http.Request)
NotAllowed writes 405 to the writer object
func NotFound ¶
func NotFound(w http.ResponseWriter, r *http.Request)
NotFound writes 404 to the write object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.