buffalo

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: Apache-2.0 Imports: 15 Imported by: 8 modules, 13 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 (bu *Buffalo) AddHandler(method, path string, plug plugins.Plugin)

func (*Buffalo) Content

func (bu *Buffalo) Content(ctx interface{}, getPanelFn types.GetPanelFn)

func (*Buffalo) GetCookie added in v1.0.9

func (bu *Buffalo) GetCookie() (string, error)

func (*Buffalo) Method added in v1.0.9

func (bu *Buffalo) Method() string

func (*Buffalo) Name added in v1.0.9

func (bu *Buffalo) Name() string

func (*Buffalo) Path added in v1.0.9

func (bu *Buffalo) Path() string

func (*Buffalo) PjaxHeader added in v1.0.9

func (bu *Buffalo) PjaxHeader() string

func (*Buffalo) Redirect added in v1.0.9

func (bu *Buffalo) Redirect()

func (*Buffalo) SetApp added in v1.0.9

func (bu *Buffalo) SetApp(app interface{}) error

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

func (*Buffalo) Use

func (bu *Buffalo) Use(router interface{}, plugs []plugins.Plugin) error

func (*Buffalo) User added in v1.1.2

func (bu *Buffalo) User(ci interface{}) (models.UserModel, bool)

func (*Buffalo) Write added in v1.0.9

func (bu *Buffalo) Write(body []byte)

type HandleFun

type HandleFun func(p string, h buffalo.Handler) *buffalo.RouteInfo

HandleFun is type of route methods of buffalo.

type HandlerFunc added in v1.1.2

type HandlerFunc func(ctx buffalo.Context) (types.Panel, error)

Jump to

Keyboard shortcuts

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