Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSAllowOriginAllMiddleware ¶
func CORSAllowOriginAllMiddleware(next http.HandlerFunc) http.HandlerFunc
CORSAllowOriginAllMiddleware sets the header for Access-Control-Allow-Origin = "*"
func OptionsPreflightAllow ¶
func OptionsPreflightAllow(w http.ResponseWriter) http.ResponseWriter
OptionsPreflightAllow sets the header for Access-Control-Allow-Origin = "*"
Types ¶
Click to show internal directories.
Click to hide internal directories.