Documentation
¶
Index ¶
- func Content(handler HandlerFunc) buffalo.Handler
- type Buffalo
- func (bu *Buffalo) AddHandler(method, path string, plug plugins.Plugin)
- func (bu *Buffalo) Content(ctx interface{}, getPanelFn types.GetPanelFn)
- func (bu *Buffalo) GetCookie() (string, error)
- func (bu *Buffalo) Method() string
- func (bu *Buffalo) Name() string
- func (bu *Buffalo) Path() string
- func (bu *Buffalo) PjaxHeader() string
- func (bu *Buffalo) Redirect()
- func (bu *Buffalo) SetApp(app interface{}) error
- func (bu *Buffalo) SetContentType()
- func (bu *Buffalo) SetContext(contextInterface interface{}) adapter.WebFrameWork
- func (bu *Buffalo) Use(router interface{}, plugs []plugins.Plugin) error
- func (bu *Buffalo) User(ci interface{}) (models.UserModel, bool)
- func (bu *Buffalo) Write(body []byte)
- type HandleFun
- type HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Content ¶ added in v1.1.2
func Content(handler HandlerFunc) buffalo.Handler
Types ¶
type Buffalo ¶
type Buffalo struct { adapter.BaseAdapter // contains filtered or unexported fields }
Buffalo structure value is a Buffalo GoAdmin adapter.
func (*Buffalo) AddHandler ¶ added in v1.0.9
func (*Buffalo) Content ¶
func (bu *Buffalo) Content(ctx interface{}, getPanelFn types.GetPanelFn)
func (*Buffalo) PjaxHeader ¶ added in v1.0.9
func (*Buffalo) SetContentType ¶ added in v1.0.9
func (bu *Buffalo) SetContentType()
func (*Buffalo) SetContext ¶ added in v1.0.9
func (bu *Buffalo) SetContext(contextInterface interface{}) adapter.WebFrameWork
Click to show internal directories.
Click to hide internal directories.