Documentation ¶
Index ¶
- func CensorUserPassword(user *models.User)
- func ClearTemporaryFlashes() echo.MiddlewareFunc
- func DeleteFlash(c echo.Context, name string)
- func GenerateActivationKey(length int) string
- func GetFlash(c echo.Context, name string) interface{}
- func GetJWT(cfg config.Keys) (string, error)
- func GetUserLastLanguage(ctx context.Context, DB *sql.DB, userID int) (string, error)
- func LoginRequired(c echo.Context) error
- func SetFlash(c echo.Context, name string, value interface{})
- func UnauthorizedError(c echo.Context) error
- type Judge
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CensorUserPassword ¶
func ClearTemporaryFlashes ¶
func ClearTemporaryFlashes() echo.MiddlewareFunc
func DeleteFlash ¶
func DeleteFlash(c echo.Context, name string)
func GenerateActivationKey ¶
func GetUserLastLanguage ¶
func LoginRequired ¶
func LoginRequired(c echo.Context) error
func UnauthorizedError ¶
func UnauthorizedError(c echo.Context) error
Types ¶
Click to show internal directories.
Click to hide internal directories.