beego

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 14 Imported by: 11 modules, 17 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) 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.0.9

func (bee *Beego) AddHandler(method, path string, plug plugins.Plugin)

func (*Beego) Content

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

func (*Beego) GetCookie added in v1.0.9

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

func (*Beego) Method added in v1.0.9

func (bee *Beego) Method() string

func (*Beego) Name added in v1.0.9

func (bee *Beego) Name() string

func (*Beego) Path added in v1.0.9

func (bee *Beego) Path() string

func (*Beego) PjaxHeader added in v1.0.9

func (bee *Beego) PjaxHeader() string

func (*Beego) Redirect added in v1.0.9

func (bee *Beego) Redirect()

func (*Beego) SetApp added in v1.0.9

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

func (*Beego) SetContentType added in v1.0.9

func (bee *Beego) SetContentType()

func (*Beego) SetContext added in v1.0.9

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

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

func (*Beego) Write added in v1.0.9

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

type HandlerFunc added in v1.1.2

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