gin

package
v1.2.13 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content added in v1.2.12

func Content(handler HandlerFunc) gin.HandlerFunc

Types

type Gin

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

Gin structure value is a Gin GoAdmin adapter.

func (*Gin) AddHandler added in v1.2.12

func (gins *Gin) AddHandler(method, path string, handlers context.Handlers)

func (*Gin) Content

func (gins *Gin) Content(ctx interface{}, getPanelFn types.GetPanelFn)

func (*Gin) FormParam added in v1.2.12

func (gins *Gin) FormParam() url.Values

func (*Gin) GetCookie added in v1.2.12

func (gins *Gin) GetCookie() (string, error)

func (*Gin) Method added in v1.2.12

func (gins *Gin) Method() string

func (*Gin) Name added in v1.2.12

func (gins *Gin) Name() string

func (*Gin) Path added in v1.2.12

func (gins *Gin) Path() string

func (*Gin) PjaxHeader added in v1.2.12

func (gins *Gin) PjaxHeader() string

func (*Gin) Redirect added in v1.2.12

func (gins *Gin) Redirect()

func (*Gin) SetApp added in v1.2.12

func (gins *Gin) SetApp(app interface{}) error

func (*Gin) SetContentType added in v1.2.12

func (gins *Gin) SetContentType()

func (*Gin) SetContext added in v1.2.12

func (gins *Gin) SetContext(contextInterface interface{}) adapter.WebFrameWork

func (*Gin) Use

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

func (*Gin) User added in v1.2.12

func (gins *Gin) User(ci interface{}) (models.UserModel, bool)

func (*Gin) Write added in v1.2.12

func (gins *Gin) Write(body []byte)

type HandlerFunc added in v1.2.12

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

Jump to

Keyboard shortcuts

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