Documentation ¶
Index ¶
Constants ¶
View Source
const ( AccessControlAllowOrigin = "*" AccessControlAllowMethods = "GET" // "POST, GET, OPTIONS, PUT, DELETE" AccessControlAllowHeaders = "" /* 217-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func AccessControlAllowMiddleware ¶
AccessControlAllowMiddleware headers
func AuthenticatedMiddleware ¶
AuthenticatedMiddleware ensures that the user is authenticated before allowing access to the route. Accepts a token in the Authorization header or as a cookie.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.