Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORS ¶
func CORS(opt CORSOpt) sgo.HandlerFunc
CORS returns a Cross-Origin Resource Sharing (CORS) middleware.
func DefaultSkipper ¶
DefaultSkipper returns false to execute this middleware for all pages.
Types ¶
Click to show internal directories.
Click to hide internal directories.