Documentation ¶
Index ¶
- func Content(handler HandlerFunc) buffalo.Handler
- type Buffalo
- func (bu *Buffalo) AddHandler(method, path string, handlers context.Handlers)
- func (bu *Buffalo) Content(ctx interface{}, getPanelFn types.GetPanelFn, fn context.NodeProcessor, ...)
- func (bu *Buffalo) DisableLog()
- func (bu *Buffalo) FormParam() neturl.Values
- func (bu *Buffalo) GetCookie() (string, error)
- func (bu *Buffalo) IsPjax() bool
- func (bu *Buffalo) Lang() string
- func (bu *Buffalo) Method() string
- func (bu *Buffalo) Name() string
- func (bu *Buffalo) Path() string
- func (bu *Buffalo) Query() neturl.Values
- func (bu *Buffalo) Redirect()
- func (bu *Buffalo) Run() error
- func (bu *Buffalo) SetApp(app interface{}) error
- func (bu *Buffalo) SetContentType()
- func (bu *Buffalo) SetContext(contextInterface interface{}) adapter.WebFrameWork
- func (bu *Buffalo) Static(prefix, path string)
- func (bu *Buffalo) Use(app interface{}, plugs []plugins.Plugin) error
- func (bu *Buffalo) User(ctx 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 ¶
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 ¶
AddHandler implements the method Adapter.AddHandler.
func (*Buffalo) Content ¶
func (bu *Buffalo) Content(ctx interface{}, getPanelFn types.GetPanelFn, fn context.NodeProcessor, btns ...types.Button)
Content implements the method Adapter.Content.
func (*Buffalo) DisableLog ¶
func (bu *Buffalo) DisableLog()
func (*Buffalo) Redirect ¶
func (bu *Buffalo) Redirect()
Redirect implements the method Adapter.Redirect.
func (*Buffalo) SetContentType ¶
func (bu *Buffalo) SetContentType()
SetContentType implements the method Adapter.SetContentType.
func (*Buffalo) SetContext ¶
func (bu *Buffalo) SetContext(contextInterface interface{}) adapter.WebFrameWork
SetContext implements the method Adapter.SetContext.
Click to show internal directories.
Click to hide internal directories.