middleware

package
v0.0.0-...-42463de Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type CheckAuthMiddleware

type CheckAuthMiddleware struct {
	// contains filtered or unexported fields
}

func NewCheckAuthMiddleware

func NewCheckAuthMiddleware(authn auth.AuthnInterface) *CheckAuthMiddleware

func (*CheckAuthMiddleware) Handle

type CheckRoleMiddleware

type CheckRoleMiddleware struct {
	// contains filtered or unexported fields
}

func NewCheckRoleMiddleware

func NewCheckRoleMiddleware(repo domain.UserRepo) *CheckRoleMiddleware

func (*CheckRoleMiddleware) Handle

Jump to

Keyboard shortcuts

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