middlewares

package
v0.0.0-...-fa223cd Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MPL-2.0 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 {
	core.BaseMiddleware
}

func (*AuthMiddleware) Apply

func (a *AuthMiddleware) Apply(ctx context.Context, req interface{}) (context.Context, interface{}, error)

type CheckParametersMiddleware

type CheckParametersMiddleware struct {
	core.BaseMiddleware
	// contains filtered or unexported fields
}

func NewCheckParametersMiddleware

func NewCheckParametersMiddleware() *CheckParametersMiddleware

func (*CheckParametersMiddleware) Apply

func (v *CheckParametersMiddleware) Apply(ctx context.Context, req interface{}) (context.Context, interface{}, error)

type UnauthenticatedMiddleware

type UnauthenticatedMiddleware struct {
	core.BaseMiddleware
}

func (*UnauthenticatedMiddleware) Apply

func (a *UnauthenticatedMiddleware) Apply(ctx context.Context, req interface{}) (context.Context, interface{}, error)

Jump to

Keyboard shortcuts

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