beego

package
v1.2.13 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content added in v1.2.12

func Content(handler HandlerFunc) beego.FilterFunc

Types

type Beego

type Beego struct {
	adapter.BaseAdapter
	// contains filtered or unexported fields
}

Beego structure value is a Beego GoAdmin adapter.

func (*Beego) AddHandler added in v1.2.12

func (bee *Beego) AddHandler(method, path string, handlers gctx.Handlers)

func (*Beego) Content

func (bee *Beego) Content(ctx interface{}, getPanelFn types.GetPanelFn)

func (*Beego) FormParam added in v1.2.12

func (bee *Beego) FormParam() url.Values

func (*Beego) GetCookie added in v1.2.12

func (bee *Beego) GetCookie() (string, error)

func (*Beego) Method added in v1.2.12

func (bee *Beego) Method() string

func (*Beego) Name added in v1.2.12

func (bee *Beego) Name() string

func (*Beego) Path added in v1.2.12

func (bee *Beego) Path() string

func (*Beego) PjaxHeader added in v1.2.12

func (bee *Beego) PjaxHeader() string

func (*Beego) Redirect added in v1.2.12

func (bee *Beego) Redirect()

func (*Beego) SetApp added in v1.2.12

func (bee *Beego) SetApp(app interface{}) error

func (*Beego) SetContentType added in v1.2.12

func (bee *Beego) SetContentType()

func (*Beego) SetContext added in v1.2.12

func (bee *Beego) SetContext(contextInterface interface{}) adapter.WebFrameWork

func (*Beego) Use

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

func (*Beego) User added in v1.2.12

func (bee *Beego) User(ci interface{}) (models.UserModel, bool)

func (*Beego) Write added in v1.2.12

func (bee *Beego) Write(body []byte)

type HandlerFunc added in v1.2.12

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

Jump to

Keyboard shortcuts

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