Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cors ¶
func Cors() echo.MiddlewareFunc
Cors api middleware to handle preflight OPTIONS requests
Types ¶
type AuthedContext ¶
type AuthedContext interface {
web.ApiContext
User() *models.User
LoggedIn() bool
}
AuthedContext web api authed context extension
Click to show internal directories.
Click to hide internal directories.