Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log *logs.BeeLogger
View Source
var Middleware map[string]HandlerInterface = map[string]HandlerInterface{}
Functions ¶
func Handlefunc ¶
func Handlefunc() macaron.Handler
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) }
Click to show internal directories.
Click to hide internal directories.