eclipse

package module
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: MIT Imports: 10 Imported by: 10

README

eclipse

Custom Echo Middleware

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authentication added in v1.3.0

func Authentication() echo.MiddlewareFunc

func Error added in v1.1.4

func Error() echo.MiddlewareFunc

func Timeout added in v1.1.4

func Timeout(duration time.Duration) echo.MiddlewareFunc

Types

type ConflictError

type ConflictError string

func ConflictErrorf

func ConflictErrorf(format string, a ...interface{}) ConflictError

func (ConflictError) Error

func (e ConflictError) Error() string

type ConstraintError

type ConstraintError string

func ConstraintErrorf

func ConstraintErrorf(format string, a ...interface{}) ConstraintError

func (ConstraintError) Error

func (e ConstraintError) Error() string

type CustomContext added in v1.3.0

type CustomContext struct {
	context.Context
	// contains filtered or unexported fields
}

func NewCustomContext added in v1.3.0

func NewCustomContext(c context.Context, u jwt.MapClaims) CustomContext

func (CustomContext) User added in v1.3.0

func (c CustomContext) User() jwt.MapClaims

type CustomValidator added in v1.4.0

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

func NewValidator added in v1.4.0

func NewValidator() CustomValidator

func (CustomValidator) Validate added in v1.4.0

func (cv CustomValidator) Validate(data interface{}) error

type NotFoundError

type NotFoundError string

func NotFoundErrorf

func NotFoundErrorf(format string, a ...interface{}) NotFoundError

func (NotFoundError) Error

func (e NotFoundError) Error() string

Jump to

Keyboard shortcuts

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