middleware

package
v0.0.0-...-930013b Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Handlefunc

func Handlefunc() macaron.Handler

func InitLog

func InitLog(runmode, path string)

func Initfunc

func Initfunc() error

func Register

func Register(name string, handler HandlerInterface) error

func SetMiddlewares

func SetMiddlewares(m *macaron.Macaron)

Types

type HandlerInterface

type HandlerInterface interface {
	InitFunc() error
	Handler(ctx *macaron.Context)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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