beego

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 15 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, handlers gctx.Handlers)

AddHandler implements the method Adapter.AddHandler.

func (*Beego) Content

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

Content implements the method Adapter.Content.

func (*Beego) DisableLog added in v1.2.9

func (bee *Beego) DisableLog()

func (*Beego) FormParam added in v1.2.0

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

FormParam implements the method Adapter.FormParam.

func (*Beego) GetCookie added in v1.0.9

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

GetCookie implements the method Adapter.GetCookie.

func (*Beego) IsPjax added in v1.2.7

func (bee *Beego) IsPjax() bool

IsPjax implements the method Adapter.IsPjax.

func (*Beego) Method added in v1.0.9

func (bee *Beego) Method() string

Method implements the method Adapter.Method.

func (*Beego) Name added in v1.0.9

func (bee *Beego) Name() string

Name implements the method Adapter.Name.

func (*Beego) Path added in v1.0.9

func (bee *Beego) Path() string

Path implements the method Adapter.Path.

func (*Beego) Redirect added in v1.0.9

func (bee *Beego) Redirect()

Redirect implements the method Adapter.Redirect.

func (*Beego) SetApp added in v1.0.9

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

SetApp implements the method Adapter.SetApp.

func (*Beego) SetContentType added in v1.0.9

func (bee *Beego) SetContentType()

SetContentType implements the method Adapter.SetContentType.

func (*Beego) SetContext added in v1.0.9

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

SetContext implements the method Adapter.SetContext.

func (*Beego) Static added in v1.2.9

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

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

User implements the method Adapter.User.

func (*Beego) Write added in v1.0.9

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

Write implements the method Adapter.Write.

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