Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombinedCORSHandler ¶
CombinedCORSHandler wraps a server and provides CORS headers.
func SetHeaders ¶
func SetHeaders(w http.ResponseWriter, _ *http.Request, config *Config)
SetHeaders sets the CORS headers.
Types ¶
Click to show internal directories.
Click to hide internal directories.