echorouter

package
v0.0.0-...-afa1830 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logLevel string) *echo.Echo

New ...

Types

type WrappedValidator

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

WrappedValidator wraps our enhanced Misakey validator around echo framework.

func NewWrappedValidator

func NewWrappedValidator(validator *validator.Enhanced) *WrappedValidator

NewWrappedValidator constructor.

func (*WrappedValidator) Validate

func (wrapper *WrappedValidator) Validate(i interface{}) error

Validate implements the echo framework validator interface.

Jump to

Keyboard shortcuts

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