middleware

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthMiddleware

type AuthMiddleware struct {
	TokenHeader string
	// contains filtered or unexported fields
}

func NewAuthMiddleware

func NewAuthMiddleware(exist authentication.UserExist, tokenHeader string) *AuthMiddleware

func (*AuthMiddleware) IsRegistered

func (a *AuthMiddleware) IsRegistered(ctx *fiber.Ctx) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL