Documentation ¶
Index ¶
- func AddGroupApi(router *gin.Engine)
- func AddGroupFeature(router *gin.Engine)
- func AddGroupMenu(router *gin.Engine)
- func AddGroupMock(router *gin.Engine)
- func AddGroupOrganization(router *gin.Engine)
- func AddGroupPermission(router *gin.Engine)
- func AddGroupTenant(router *gin.Engine)
- func BadRequest(c *gin.Context, msg ...string)
- func InternalServerError(c *gin.Context, err error)
- func NewRouter() *gin.Engine
- func NotFound(c *gin.Context, msg ...string)
- type InfoResult
- type InfoResultData
- type LoginResult
- type LoginResultData
- type LogoutResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGroupApi ¶
func AddGroupFeature ¶
func AddGroupMenu ¶
func AddGroupMock ¶
func AddGroupOrganization ¶
func AddGroupPermission ¶
func AddGroupTenant ¶
func BadRequest ¶
func InternalServerError ¶
Types ¶
type InfoResult ¶
type InfoResult struct { Code int `json:"code"` Data InfoResultData `json:"data"` }
type InfoResultData ¶
type LoginResult ¶
type LoginResult struct { Code int `json:"code"` Data LoginResultData `json:"data"` }
type LoginResultData ¶
type LoginResultData struct {
Token string `json:"token"`
}
type LogoutResult ¶
Click to show internal directories.
Click to hide internal directories.