middlewares

package
v0.0.0-...-18be65f Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 7 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 {
	Config *config.Config
}

func NewAuthMiddleware

func NewAuthMiddleware(c *config.Config) *AuthMiddleware

func (*AuthMiddleware) User

func (a *AuthMiddleware) User() gin.HandlerFunc

type UserPayload

type UserPayload struct {
	Email string `json:"email"`
}

Jump to

Keyboard shortcuts

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