gf

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 14 Imported by: 8 modules, 13 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) ghttp.HandlerFunc

Types

type Gf

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

Gf structure value is a Gf GoAdmin adapter.

func (*Gf) AddHandler

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

func (*Gf) Content

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

func (*Gf) GetCookie

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

func (*Gf) Method

func (gf *Gf) Method() string

func (*Gf) Name

func (gf *Gf) Name() string

func (*Gf) Path

func (gf *Gf) Path() string

func (*Gf) PjaxHeader

func (gf *Gf) PjaxHeader() string

func (*Gf) Redirect

func (gf *Gf) Redirect()

func (*Gf) SetApp

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

func (*Gf) SetContentType

func (gf *Gf) SetContentType()

func (*Gf) SetContext

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

func (*Gf) Use

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

func (*Gf) User added in v1.1.2

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

func (*Gf) Write

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

type HandlerFunc added in v1.1.2

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL