go-admin: github.com/GoAdminGroup/go-admin/adapter/buffalo Index | Files

package buffalo

import "github.com/GoAdminGroup/go-admin/adapter/buffalo"


Package Files


func Content Uses

func Content(handler HandlerFunc) buffalo.Handler

type Buffalo Uses

type Buffalo struct {
    // contains filtered or unexported fields

Buffalo structure value is a Buffalo GoAdmin adapter.

func (*Buffalo) AddHandler Uses

func (bu *Buffalo) AddHandler(method, path string, plug plugins.Plugin)

func (*Buffalo) Content Uses

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

func (*Buffalo) GetCookie Uses

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

func (*Buffalo) Method Uses

func (bu *Buffalo) Method() string

func (*Buffalo) Name Uses

func (bu *Buffalo) Name() string

func (*Buffalo) Path Uses

func (bu *Buffalo) Path() string

func (*Buffalo) PjaxHeader Uses

func (bu *Buffalo) PjaxHeader() string

func (*Buffalo) Redirect Uses

func (bu *Buffalo) Redirect()

func (*Buffalo) SetApp Uses

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

func (*Buffalo) SetContentType Uses

func (bu *Buffalo) SetContentType()

func (*Buffalo) SetContext Uses

func (bu *Buffalo) SetContext(contextInterface interface{}) adapter.WebFrameWork

func (*Buffalo) Use Uses

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

func (*Buffalo) User Uses

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

func (*Buffalo) Write Uses

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

type HandleFun Uses

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

HandleFun is type of route methods of buffalo.

type HandlerFunc Uses

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

Package buffalo imports 15 packages (graph) and is imported by 2 packages. Updated 2020-01-23. Refresh now. Tools for package owners.