beego

package
v1.2.21 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content added in v1.2.19

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.19

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

AddHandler implements the method Adapter.AddHandler.

func (*Beego) Content

func (bee *Beego) Content(ctx interface{}, getPanelFn types.GetPanelFn, fn gctx.NodeProcessor, navButtons ...types.Button)

Content implements the method Adapter.Content.

func (*Beego) DisableLog added in v1.2.19

func (bee *Beego) DisableLog()

func (*Beego) FormParam added in v1.2.19

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

FormParam implements the method Adapter.FormParam.

func (*Beego) GetCookie added in v1.2.19

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

GetCookie implements the method Adapter.GetCookie.

func (*Beego) IsPjax added in v1.2.19

func (bee *Beego) IsPjax() bool

IsPjax implements the method Adapter.IsPjax.

func (*Beego) Lang added in v1.2.19

func (bee *Beego) Lang() string

Lang implements the method Adapter.Lang.

func (*Beego) Method added in v1.2.19

func (bee *Beego) Method() string

Method implements the method Adapter.Method.

func (*Beego) Name added in v1.2.19

func (bee *Beego) Name() string

Name implements the method Adapter.Name.

func (*Beego) Path added in v1.2.19

func (bee *Beego) Path() string

Path implements the method Adapter.Path.

func (*Beego) Redirect added in v1.2.19

func (bee *Beego) Redirect()

Redirect implements the method Adapter.Redirect.

func (*Beego) Run added in v1.2.19

func (bee *Beego) Run() error

func (*Beego) SetApp added in v1.2.19

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

SetApp implements the method Adapter.SetApp.

func (*Beego) SetContentType added in v1.2.19

func (bee *Beego) SetContentType()

SetContentType implements the method Adapter.SetContentType.

func (*Beego) SetContext added in v1.2.19

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

SetContext implements the method Adapter.SetContext.

func (*Beego) Static added in v1.2.19

func (bee *Beego) Static(prefix, path string)

func (*Beego) Use

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

Use implements the method Adapter.Use.

func (*Beego) User added in v1.2.19

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

User implements the method Adapter.User.

func (*Beego) Write added in v1.2.19

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

Write implements the method Adapter.Write.

type HandlerFunc added in v1.2.19

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