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

package gf

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

Index

Package Files

gf.go

func Content Uses

func Content(handler HandlerFunc) ghttp.HandlerFunc

type Gf Uses

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

Gf structure value is a Gf GoAdmin adapter.

func (*Gf) AddHandler Uses

func (gf *Gf) AddHandler(method, path string, plug plugins.Plugin)

func (*Gf) Content Uses

func (gf *Gf) Content(ctx interface{}, getPanelFn types.GetPanelFn)

func (*Gf) GetCookie Uses

func (gf *Gf) GetCookie() (string, error)

func (*Gf) Method Uses

func (gf *Gf) Method() string

func (*Gf) Name Uses

func (gf *Gf) Name() string

func (*Gf) Path Uses

func (gf *Gf) Path() string

func (*Gf) PjaxHeader Uses

func (gf *Gf) PjaxHeader() string

func (*Gf) Redirect Uses

func (gf *Gf) Redirect()

func (*Gf) SetApp Uses

func (gf *Gf) SetApp(app interface{}) error

func (*Gf) SetContentType Uses

func (gf *Gf) SetContentType()

func (*Gf) SetContext Uses

func (gf *Gf) SetContext(contextInterface interface{}) adapter.WebFrameWork

func (*Gf) Use Uses

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

func (*Gf) User Uses

func (gf *Gf) User(ci interface{}) (models.UserModel, bool)

func (*Gf) Write Uses

func (gf *Gf) Write(body []byte)

type HandlerFunc Uses

type HandlerFunc func(ctx *ghttp.Request) (types.Panel, error)

Package gf imports 14 packages (graph). Updated 2020-01-25. Refresh now. Tools for package owners.