Documentation ¶
Index ¶
- Variables
- func Advert(ctx echo.Context) error
- func Custom(c echo.Context) error
- func CustomerInfo(c echo.Context) error
- func ErrorCode(c echo.Context) error
- func Forgot(c echo.Context) error
- func Index(c echo.Context) error
- func Search(c echo.Context) error
- func SecureKey(c echo.Context) error
- func SetJWTData(c echo.Context, m *modelCustomer.Customer) error
- func SignIn(c echo.Context) error
- func SignOut(c echo.Context) error
- func SignUp(c echo.Context) error
- func Verification(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // UnimplementedHandler 默认未实现处理 UnimplementedHandler = func(c echo.Context) error { return c.String(`Unimplemented`) } // DefaultIndexHandler 默认首页处理 DefaultIndexHandler = article.List // DefaultSearchHandler 默认搜索处理 DefaultSearchHandler = UnimplementedHandler )
View Source
var CookieMaxAge = 86400 * 365
CookieMaxAge 允许设置的Cookie最大有效时长(单位:秒)
Functions ¶
func CustomerInfo ¶ added in v0.4.11
func SetJWTData ¶
func SetJWTData(c echo.Context, m *modelCustomer.Customer) error
func Verification ¶
Verification /verification/callback/:provider/:recid/:timestamp/:token
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.