Documentation ¶
Index ¶
Constants ¶
View Source
const ( AllowMethods = "GET, POST, PUT, PATCH, DELETE, OPTIONS" AllowHeaders = "Accept, Content-Type, Content-Length, Accept-Encoding, Authorization, ResponseType, X-Api-Key" )
Variables ¶
This section is empty.
Functions ¶
func MCors ¶
func MCors(cors []string) *middleware.NamedMiddleware
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.