controller

package
v0.0.0-...-1fd1f4e Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	*iris.Context
	Ye *myerror.YceError
}

func (*Controller) CheckError

func (c *Controller) CheckError() bool

func (*Controller) WriteError

func (c *Controller) WriteError()

func (*Controller) WriteOk

func (c *Controller) WriteOk(msg string)

type IController

type IController interface {
	WriteError()
	CheckError() bool // if error true, else false
	WriteOk()
}

Jump to

Keyboard shortcuts

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