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, btns ...types.Button)
- func (gins *Gin) DisableLog()
- func (gins *Gin) FormParam() url.Values
- func (gins *Gin) GetCookie() (string, error)
- func (gins *Gin) IsPjax() bool
- func (gins *Gin) Method() string
- func (gins *Gin) Name() string
- func (gins *Gin) Path() 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) Static(prefix, path string)
- 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 ¶
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 ¶
AddHandler implements the method Adapter.AddHandler.
func (*Gin) Content ¶
func (gins *Gin) Content(ctx interface{}, getPanelFn types.GetPanelFn, btns ...types.Button)
Content implements the method Adapter.Content.
func (*Gin) DisableLog ¶
func (gins *Gin) DisableLog()
func (*Gin) SetContentType ¶
func (gins *Gin) SetContentType()
SetContentType implements the method Adapter.SetContentType.
func (*Gin) SetContext ¶
func (gins *Gin) SetContext(contextInterface interface{}) adapter.WebFrameWork
SetContext implements the method Adapter.SetContext.
Click to show internal directories.
Click to hide internal directories.