web

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts Options) *echo.Echo

New creates an instance of Echo.

func StartServer

func StartServer(e *echo.Echo, bind string) error

StartServer HTTP with custom address.

Types

type Context added in v1.6.2

type Context = echo.Context

type Options

type Options struct {
	// TODO suggest change to echo.Logger
	Logger logger.Logger
	Error  errors.Logic
	Debug  bool
}

Options contains a parameters for new Echo instance.

Jump to

Keyboard shortcuts

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