Documentation
¶
Index ¶
- func Content(handler HandlerFunc) gin.HandlerFunc
- type Gin
- func (gins *Gin) AddHandler(method, path string, plug plugins.Plugin)
- func (gins *Gin) Content(ctx interface{}, getPanelFn types.GetPanelFn)
- func (gins *Gin) GetCookie() (string, error)
- func (gins *Gin) Method() string
- func (gins *Gin) Name() string
- func (gins *Gin) Path() string
- func (gins *Gin) PjaxHeader() string
- func (gins *Gin) Redirect()
- func (gins *Gin) SetApp(app interface{}) error
- func (gins *Gin) SetContentType()
- func (gins *Gin) SetContext(contextInterface interface{}) adapter.WebFrameWork
- func (gins *Gin) Use(router interface{}, plugs []plugins.Plugin) error
- func (gins *Gin) User(ci interface{}) (models.UserModel, bool)
- func (gins *Gin) Write(body []byte)
- type HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Content ¶ added in v1.1.2
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.0.9
func (*Gin) Content ¶
func (gins *Gin) Content(ctx interface{}, getPanelFn types.GetPanelFn)
func (*Gin) PjaxHeader ¶ added in v1.0.9
func (*Gin) SetContentType ¶ added in v1.0.9
func (gins *Gin) SetContentType()
func (*Gin) SetContext ¶ added in v1.0.9
func (gins *Gin) SetContext(contextInterface interface{}) adapter.WebFrameWork
Click to show internal directories.
Click to hide internal directories.