Documentation ¶
Index ¶
- Constants
- func AddJob(ctx *gin.Context)
- func AddVolunteerController(context *gin.Context)
- func CreateTeamController(context *gin.Context)
- func DeleteJob(ctx *gin.Context)
- func DeleteTeamController(context *gin.Context)
- func DeleteVolunteerController(context *gin.Context)
- func GetAdminInfo(context *gin.Context)
- func GetJobs(ctx *gin.Context)
- func GetTeamInfoController(context *gin.Context)
- func ListTeamsController(context *gin.Context)
- func ListVolunteersController(context *gin.Context)
- func LoginController(context *gin.Context)
- func SearchVolunteerController(context *gin.Context)
- func UpdateJob(ctx *gin.Context)
- func UpdateTeamController(context *gin.Context)
- func UpdateVolunteerController(context *gin.Context)
- type AddVolunteerReq
- type CreateTeamReq
- type LoginReq
- type UpdateTeamReq
- type UpdateVolunteerReq
Constants ¶
View Source
const (
GetInfoErrorCode int = 4302
)
Variables ¶
This section is empty.
Functions ¶
func AddVolunteerController ¶
func CreateTeamController ¶
func DeleteTeamController ¶
func GetAdminInfo ¶
func GetTeamInfoController ¶
func ListTeamsController ¶
func LoginController ¶
func UpdateTeamController ¶
Types ¶
type AddVolunteerReq ¶
type AddVolunteerReq struct { Name string `json:"name"` Gender bool `json:"gender"` Job int `json:"job_id"` Tel string `json:"tel"` Experience string `json:"experience"` Avatar string `json:"avatar"` IDNumber string `json:"id_number"` Employment string `json:"employment"` Status int `json:"status"` }
type CreateTeamReq ¶
type UpdateTeamReq ¶
type UpdateVolunteerReq ¶
type UpdateVolunteerReq struct { AddVolunteerReq TeamIDNew int `json:"team_id"` }
Click to show internal directories.
Click to hide internal directories.