middleware

package
v0.1.1-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(cfg *config.Config, logger *zap.Logger, requiredPermissions map[MethodPath][]string, checkService check.Service) echo.MiddlewareFunc

func MockAuthHeader

func MockAuthHeader() http.Header

Types

type MethodPath

type MethodPath struct {
	Method   string
	Path     string
	Resource string
}

Jump to

Keyboard shortcuts

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