Documentation ¶
Index ¶
- func AdminChangePassword(c *gin.Context)
- func AdminChangeUserProfile(c *gin.Context)
- func AdminUserDelete(c *gin.Context)
- func AuthSession(c *gin.Context)
- func ChangePassword(c *gin.Context)
- func ChangeRoleOfUser(c *gin.Context)
- func CreateRoot(c *gin.Context)
- func CreateTeam(c *gin.Context)
- func CreateUser(c *gin.Context)
- func DeleteTeam(c *gin.Context)
- func GetTeam(c *gin.Context)
- func GetTeamByName(c *gin.Context)
- func GetUser(c *gin.Context)
- func GetUserByName(c *gin.Context)
- func GetUserTeams(c *gin.Context)
- func IsUserInTeams(c *gin.Context)
- func Login(c *gin.Context)
- func Logout(c *gin.Context)
- func Routes(r *gin.Engine)
- func Teams(c *gin.Context)
- func UpdateCurrentUser(c *gin.Context)
- func UpdateTeam(c *gin.Context)
- func UserInfo(c *gin.Context)
- func UserList(c *gin.Context)
- type APIAdminChangePassword
- type APIAdminChangeUserProfileInput
- type APIAdminUserDeleteInput
- type APICgPassedInput
- type APICreateTeamInput
- type APIDeleteTeamInput
- type APIGetTeamOutput
- type APILoginInput
- type APIRoleUpdate
- type APIUpdateTeamInput
- type APIUserInput
- type APIUserUpdateInput
- type CTeam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminChangePassword ¶
func AdminChangeUserProfile ¶
func AdminUserDelete ¶
func AuthSession ¶
func ChangePassword ¶
func ChangeRoleOfUser ¶
func CreateRoot ¶
func CreateUser ¶
func GetTeamByName ¶
func GetUserByName ¶
func GetUserTeams ¶
func IsUserInTeams ¶
func UpdateTeam ¶
admin, team creator, team member can mangage the team
Types ¶
type APIAdminChangePassword ¶
type APIAdminUserDeleteInput ¶
type APIAdminUserDeleteInput struct {
UserID int `json:"user_id" binding:"required"`
}
type APICgPassedInput ¶
type APICreateTeamInput ¶
type APIDeleteTeamInput ¶
type APIDeleteTeamInput struct {
ID int64 `json:"team_id" binding:"required"`
}
type APIGetTeamOutput ¶
type APILoginInput ¶
type APIRoleUpdate ¶
type APIUpdateTeamInput ¶
type APIUserInput ¶
type APIUserUpdateInput ¶
Click to show internal directories.
Click to hide internal directories.