Versions in this module Expand all Collapse all v1 v1.1.0 Dec 26, 2018 Changes in this version + type PlgStatus string + const Reloading + const Stopped + const Working type Plugin + Enable func(enabled bool) + Enabled func() bool + Name func() string + Status func() PlgStatus v1.0.0 Dec 19, 2018 Changes in this version + func Recover(plgName string) + type Context struct + Ctx context.Context + Method string + Path string + func New(w http.ResponseWriter, req *http.Request, numPlugin int, plugins []Plugin) *Context + func (c *Context) Abort() + func (c *Context) AbortWithStatus(status int) + func (c *Context) Aborted() bool + func (c *Context) Error() error + func (c *Context) JSON(status int, v interface{}) + func (c *Context) Next() + func (c *Context) Request() *http.Request + func (c *Context) Reset() + func (c *Context) ResponseWriter() http.ResponseWriter + func (c *Context) Set(req *http.Request, w http.ResponseWriter) + func (c *Context) SetError(err error) + func (c *Context) SetResponseWriter(w http.ResponseWriter) + func (c *Context) String(status int, s string) + type Plugin interface + Handle func(ctx *Context)