Documentation
¶
Index ¶
- func InjectBaseController(s *BaseController)
- func LoadBaseController() baseiface.ISingleton
- type BaseController
- func (self *BaseController) GetParam2Bool(c *gin.Context, key string) bool
- func (self *BaseController) GetParam2Int32Check(c *gin.Context, key string) int32
- func (self *BaseController) GetParam2Int64(c *gin.Context, key string) int64
- func (self *BaseController) GetParam2Int64Check(c *gin.Context, key string) int64
- func (self *BaseController) GetParam2Str(c *gin.Context, key string) string
- func (self *BaseController) GetQuery2Bool(c *gin.Context, key string) bool
- func (self *BaseController) GetQuery2Int64(c *gin.Context, key string) int64
- func (self *BaseController) GetQuery2Int64Check(c *gin.Context, key string) int64
- func (self *BaseController) GetQuery2Str(c *gin.Context, key string) string
- func (*BaseController) Name() string
- func (b *BaseController) RegisterRoute(api *gin.RouterGroup)
- type BaseWeb
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectBaseController ¶
func InjectBaseController(s *BaseController)
func LoadBaseController ¶
func LoadBaseController() baseiface.ISingleton
Types ¶
type BaseController ¶
type BaseController struct {
basedto.BaseEntitySingle
BaseWeb
}
func NewBaseController ¶
func NewBaseController() *BaseController
func (*BaseController) GetParam2Bool ¶
func (self *BaseController) GetParam2Bool(c *gin.Context, key string) bool
func (*BaseController) GetParam2Int32Check ¶
func (self *BaseController) GetParam2Int32Check(c *gin.Context, key string) int32
func (*BaseController) GetParam2Int64 ¶
func (self *BaseController) GetParam2Int64(c *gin.Context, key string) int64
func (*BaseController) GetParam2Int64Check ¶
func (self *BaseController) GetParam2Int64Check(c *gin.Context, key string) int64
func (*BaseController) GetParam2Str ¶
func (self *BaseController) GetParam2Str(c *gin.Context, key string) string
func (*BaseController) GetQuery2Bool ¶
func (self *BaseController) GetQuery2Bool(c *gin.Context, key string) bool
func (*BaseController) GetQuery2Int64 ¶
func (self *BaseController) GetQuery2Int64(c *gin.Context, key string) int64
func (*BaseController) GetQuery2Int64Check ¶
func (self *BaseController) GetQuery2Int64Check(c *gin.Context, key string) int64
func (*BaseController) GetQuery2Str ¶
func (self *BaseController) GetQuery2Str(c *gin.Context, key string) string
func (*BaseController) RegisterRoute ¶
func (b *BaseController) RegisterRoute(api *gin.RouterGroup)
RegisterRoute implements Controller.
type BaseWeb ¶
type BaseWeb struct {
baseservice.BaseService
}
Click to show internal directories.
Click to hide internal directories.