Documentation ¶
Index ¶
- func Content(handler HandlerFunc) gin.HandlerFunc
- type Gin
- func (gins *Gin) AddHandler(method, path string, handlers context.Handlers)
- func (gins *Gin) Content(ctx interface{}, getPanelFn types.GetPanelFn, fn context.NodeProcessor, ...)
- func (gins *Gin) FormParam() url.Values
- func (gins *Gin) GetCookie() (string, error)
- func (gins *Gin) IsPjax() bool
- func (gins *Gin) Lang() string
- func (gins *Gin) Method() string
- func (*Gin) Name() string
- func (gins *Gin) Path() string
- func (gins *Gin) Query() url.Values
- func (gins *Gin) Redirect()
- func (gins *Gin) SetApp(app interface{}) error
- func (*Gin) SetContentType()
- func (*Gin) SetContext(contextInterface interface{}) adapter.WebFrameWork
- func (gins *Gin) Use(app interface{}, plugs []plugins.Plugin) error
- func (gins *Gin) User(ctx 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.2.25
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.25
AddHandler implements the method Adapter.AddHandler.
func (*Gin) Content ¶
func (gins *Gin) Content(ctx interface{}, getPanelFn types.GetPanelFn, fn context.NodeProcessor, btns ...types.Button)
Content implements the method Adapter.Content.
func (*Gin) Redirect ¶ added in v1.2.25
func (gins *Gin) Redirect()
Redirect implements the method Adapter.Redirect.
func (*Gin) SetContentType ¶ added in v1.2.25
func (*Gin) SetContentType()
SetContentType implements the method Adapter.SetContentType.
func (*Gin) SetContext ¶ added in v1.2.25
func (*Gin) SetContext(contextInterface interface{}) adapter.WebFrameWork
SetContext implements the method Adapter.SetContext.
Click to show internal directories.
Click to hide internal directories.