Documentation ¶
Index ¶
- func Decrypt(data []byte, secret string) ([]byte, error)
- func Encrypt(data []byte, secret string) ([]byte, error)
- func IsUUID(u string) bool
- func IsValidSlug(s string) bool
- func NewLoggerConverter() echo.Logger
- func ParseJWT(secret, token string) (jwt.MapClaims, bool, error)
- func RequestLogger(dev bool) echo.MiddlewareFunc
- func Slugify(source string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoggerConverter ¶
NewLoggerConverter returns an Echo logger converter to Logrus.
func RequestLogger ¶
func RequestLogger(dev bool) echo.MiddlewareFunc
RequestLogger middleware for Echo.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.