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

package beego

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


Package Files


func Content Uses

func Content(handler HandlerFunc) beego.FilterFunc

type Beego Uses

type Beego struct {
    // contains filtered or unexported fields

Beego structure value is a Beego GoAdmin adapter.

func (*Beego) AddHandler Uses

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

AddHandler implements the method Adapter.AddHandler.

func (*Beego) Content Uses

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

Content implements the method Adapter.Content.

func (*Beego) DisableLog Uses

func (bee *Beego) DisableLog()

func (*Beego) FormParam Uses

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

FormParam implements the method Adapter.FormParam.

func (*Beego) GetCookie Uses

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

GetCookie implements the method Adapter.GetCookie.

func (*Beego) IsPjax Uses

func (bee *Beego) IsPjax() bool

IsPjax implements the method Adapter.IsPjax.

func (*Beego) Method Uses

func (bee *Beego) Method() string

Method implements the method Adapter.Method.

func (*Beego) Name Uses

func (bee *Beego) Name() string

Name implements the method Adapter.Name.

func (*Beego) Path Uses

func (bee *Beego) Path() string

Path implements the method Adapter.Path.

func (*Beego) Redirect Uses

func (bee *Beego) Redirect()

Redirect implements the method Adapter.Redirect.

func (*Beego) Run Uses

func (bee *Beego) Run() error

func (*Beego) SetApp Uses

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

SetApp implements the method Adapter.SetApp.

func (*Beego) SetContentType Uses

func (bee *Beego) SetContentType()

SetContentType implements the method Adapter.SetContentType.

func (*Beego) SetContext Uses

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

SetContext implements the method Adapter.SetContext.

func (*Beego) Static Uses

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

func (*Beego) Use Uses

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

Use implements the method Adapter.Use.

func (*Beego) User Uses

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

User implements the method Adapter.User.

func (*Beego) Write Uses

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

Write implements the method Adapter.Write.

type HandlerFunc Uses

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

Package beego imports 15 packages (graph) and is imported by 3 packages. Updated 2020-07-09. Refresh now. Tools for package owners.