web

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Null is /dev/null emulation

Functions

func NewBinder

func NewBinder(v validate.Validator) echo.Binder

func NewEngine

func NewEngine(l echo.Logger, b echo.Binder, v validate.Validator) *echo.Echo

func NewLogger

func NewLogger() echo.Logger

func NewServers

func NewServers(handler http.Handler) mserv.Server

Types

type CustomError added in v0.4.1

type CustomError interface {
	FormatResponse(ctx echo.Context)
}

type EmptyWriter

type EmptyWriter struct{}

EmptyWriter struct

func (EmptyWriter) Write

func (EmptyWriter) Write(data []byte) (int, error)

Write /dev/null emulation

Jump to

Keyboard shortcuts

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