middleware

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthUser added in v0.1.3

func AuthUser(l log.Logger, svc payd.UserService) echo.MiddlewareFunc

AuthUser infer user from header. Default to 1 if not supplied.

func ErrorHandler

func ErrorHandler(l log.Logger) echo.HTTPErrorHandler

ErrorHandler we can flesh this out.

Types

This section is empty.

Jump to

Keyboard shortcuts

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