Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authorize ¶ added in v1.2.0
func Authorize(w http.ResponseWriter, r *http.Request)
Authorize : Authorization Handler
func CORSMiddleware ¶
func CORSMiddleware(handler http.HandlerFunc) http.HandlerFunc
CORSMiddleware sets up CORS headers.
func HandleCORS ¶
func HandleCORS(w http.ResponseWriter, r *http.Request)
HandleCORS is a CORS handler.
func TokenAuthMiddleware ¶ added in v1.2.0
func TokenAuthMiddleware(h http.HandlerFunc) http.HandlerFunc
TokenAuthMiddleware : Generate auth token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.