middleware

package
v0.0.0-...-704a905 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotAuth = errors.New("available only to authorized users")
)

Functions

This section is empty.

Types

type HttpMiddleware

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

func InitMiddleware

func InitMiddleware(authAgent auth_domain.AuthAgent) *HttpMiddleware

func (*HttpMiddleware) Auth

func (m *HttpMiddleware) Auth(next echo.HandlerFunc) echo.HandlerFunc

Jump to

Keyboard shortcuts

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