middleware

package
v0.0.0-...-c33e8bb Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler(next echo.HandlerFunc) echo.HandlerFunc

Types

type BasicAuth

type BasicAuth struct {
	Username, Password string
}

BasicAuth ...

func (BasicAuth) Checker

func (a BasicAuth) Checker(next echo.HandlerFunc) echo.HandlerFunc

Checker ...

func (BasicAuth) IsAuthenticated

func (a BasicAuth) IsAuthenticated(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)

IsAuthenticated ...

Jump to

Keyboard shortcuts

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