Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthStrategy ¶
type AuthStrategy string
const ( AuthStrategyDenyAll AuthStrategy = "deny-all" AuthStrategyUserIDInAuthHeader AuthStrategy = "user-id-in-auth-header" )
type TestAuthMiddleware ¶
type TestAuthMiddleware struct {
Strategy AuthStrategy
}
func (*TestAuthMiddleware) Handle ¶
func (m *TestAuthMiddleware) Handle(c *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.