Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerCommon ¶
type ControllerCommon struct {
// contains filtered or unexported fields
}
func NewControllerCommon ¶
func NewControllerCommon(cfg *config.AppConfig) *ControllerCommon
type ControllerIndex ¶
type ControllerIndex struct {
*ControllerCommon
}
func NewControllerIndex ¶
func NewControllerIndex(common *ControllerCommon) *ControllerIndex
func (ControllerIndex) Index ¶
func (i ControllerIndex) Index(c *gin.Context)
func (ControllerIndex) Recovery ¶
func (i ControllerIndex) Recovery(c *gin.Context)
func (ControllerIndex) Reset ¶
func (i ControllerIndex) Reset(c *gin.Context)
func (ControllerIndex) Signin ¶
func (i ControllerIndex) Signin(ctx *gin.Context)
func (ControllerIndex) Signout ¶
func (i ControllerIndex) Signout(c *gin.Context)
type ControllerProxy ¶
type ControllerProxy struct {
*ControllerCommon
}
func NewControllerProxy ¶
func NewControllerProxy(common *ControllerCommon) *ControllerProxy
func (ControllerProxy) Simple ¶
func (i ControllerProxy) Simple(ctx *gin.Context)
func (ControllerProxy) Upload ¶
func (i ControllerProxy) Upload(ctx *gin.Context)
func (ControllerProxy) Ws ¶
func (i ControllerProxy) Ws(ctx *gin.Context)
type Controllers ¶
type Controllers struct { Index *ControllerIndex Proxy *ControllerProxy }
func NewControllers ¶
func NewControllers(cfg *config.AppConfig) *Controllers
Click to show internal directories.
Click to hide internal directories.