route

package
v0.0.0-...-ef20d85 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(app *iris.Application)

Types

type Context

type Context struct {
	context.Context
}

func (*Context) Do

func (ctx *Context) Do(handlers context.Handlers)

func (*Context) Error

func (c *Context) Error(state int, err error, data ...interface{})

func (*Context) Next

func (ctx *Context) Next()

func (*Context) Ok

func (c *Context) Ok(data interface{})

func (*Context) Result

func (c *Context) Result(result interface{}, err error)

Jump to

Keyboard shortcuts

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