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

package gin

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

Index

Package Files

gin.go

func Content Uses

func Content(handler HandlerFunc) gin.HandlerFunc

type Gin Uses

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

Gin structure value is a Gin GoAdmin adapter.

func (*Gin) AddHandler Uses

func (gins *Gin) AddHandler(method, path string, plug plugins.Plugin)

func (*Gin) Content Uses

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

func (*Gin) GetCookie Uses

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

func (*Gin) Method Uses

func (gins *Gin) Method() string

func (*Gin) Name Uses

func (gins *Gin) Name() string

func (*Gin) Path Uses

func (gins *Gin) Path() string

func (*Gin) PjaxHeader Uses

func (gins *Gin) PjaxHeader() string

func (*Gin) Redirect Uses

func (gins *Gin) Redirect()

func (*Gin) SetApp Uses

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

func (*Gin) SetContentType Uses

func (gins *Gin) SetContentType()

func (*Gin) SetContext Uses

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

func (*Gin) Use Uses

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

func (*Gin) User Uses

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

func (*Gin) Write Uses

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

type HandlerFunc Uses

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

Package gin imports 13 packages (graph) and is imported by 3 packages. Updated 2019-12-13. Refresh now. Tools for package owners.