Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.