server

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *echo.Echo

func Start

func Start(e *echo.Echo)

Types

type CustomHTTPErrorHandler

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

func (CustomHTTPErrorHandler) Handler

func (che CustomHTTPErrorHandler) Handler(err error, c echo.Context)

type CustomValidator

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

func (*CustomValidator) Validate

func (v *CustomValidator) Validate(i interface{}) error

type HTMLRenderer

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

func NewHtmlRenderer

func NewHtmlRenderer() *HTMLRenderer

func (*HTMLRenderer) Render

func (t *HTMLRenderer) Render(w io.Writer, name string, data interface{}, c echo.Context) error

Jump to

Keyboard shortcuts

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