Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadRequest = errors.New("Bad request")
View Source
var ErrNoToken = errors.New("No token")
View Source
var ErrWrongAuthType = errors.New("Wrong auth type")
Functions ¶
func EnableCORS ¶
func EnableCORS(w *http.ResponseWriter)
func TokenPrehandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.