Documentation
¶
Index ¶
- type Common
- func (h Common) GetHTTPAccessor(c *fiber.Ctx) *accessor.Accessor
- func (h Common) InternalError(c *fiber.Ctx, err error, message string, logFields ...zap.Field) error
- func (h Common) MiddlewareAccessTokenAuth(ctx *fiber.Ctx) error
- func (h Common) MiddlewareSessionAuth(c *fiber.Ctx) error
- func (h Common) NeedLogin(c *fiber.Ctx) error
- func (h Common) ValidationError(c *fiber.Ctx, err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
type Common struct { V *validator.Validate // contains filtered or unexported fields }
func (Common) GetHTTPAccessor ¶
func (Common) InternalError ¶
func (Common) MiddlewareAccessTokenAuth ¶
func (Common) MiddlewareSessionAuth ¶
func (Common) ValidationError ¶ added in v0.22.2
Click to show internal directories.
Click to hide internal directories.