Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct { Cfg *config.ServiceConfig DBRepo repositories.DBRepo UtilsRepo repositories.UtilsRepo }
func New ¶
func New(this *Middleware) *Middleware
func (*Middleware) Authorize ¶
func (m *Middleware) Authorize(h fiber.Handler) fiber.Handler
func (*Middleware) GetDataUser ¶
func (m *Middleware) GetDataUser(ctx *fiber.Ctx) (result MyClaims)
Click to show internal directories.
Click to hide internal directories.