router

package
v0.0.0-...-caa72ac Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostValidator

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

func (PostValidator) Validate

func (v PostValidator) Validate(i interface{}) error

type Router

type Router interface {
	GetDevice(path string, f func(c echo.Context) error)
	AddNewDevice(path string, f func(c echo.Context) error)
	Start(address string)
}

func NewRouter

func NewRouter() Router

Jump to

Keyboard shortcuts

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