Documentation ¶
Index ¶
- type AnswerByTeam
- type AnswerMediaTask
- type CreateTeam
- type GetAllAnswerByTeam
- type GetAnswerByTeamByID
- type GetAnswerOnMediaTask
- type GetAnswerOnTextTaskByID
- type GetAnswersOnMediaTaskByFilter
- type GetMasterClassByID
- type GetMediaTask
- type GetSecAdminByFilter
- type GetSecAdminById
- type GetSecByFilter
- type GetSecById
- type GetSecByTeamId
- type GetTeam
- type GetTeamByID
- type GetTeamsByFilter
- type GetTextTask
- type GetUserById
- type GetUsersByFilter
- type Login
- type Logout
- type MasterClassAdminByFilter
- type MasterClassAdminById
- type MasterClassByFilter
- type MasterClassById
- type Member
- type Register
- type SECAdminByFilter
- type SECByFilter
- type SECByTeamId
- type UpdateAnswerOnTextTaskByID
- type UpdateGivePoints
- type UpdateSpendPoints
- type UpdateTeam
- type UserByFilter
- type UserProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnswerByTeam ¶
type AnswerMediaTask ¶
type CreateTeam ¶
type CreateTeam struct {
TeamId int `json:"team_id"`
}
type GetAllAnswerByTeam ¶
type GetAllAnswerByTeam struct {
Answers []AnswerByTeam `json:"answers"`
}
type GetAnswerByTeamByID ¶
type GetAnswerOnMediaTask ¶
type GetAnswerOnTextTaskByID ¶
type GetAnswersOnMediaTaskByFilter ¶
type GetAnswersOnMediaTaskByFilter struct {
Answers []AnswerMediaTask `json:"answers"`
}
type GetMasterClassByID ¶
type GetMasterClassByID struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` FIO string `json:"fio"` Phone string `json:"phone"` Telegram string `json:"telegram"` MasterClassId int `json:"master_class_id"` StartedAt string `json:"started_at"` EndedAt string `json:"ended_at"` Capacity int `json:"capacity"` FreePlace int `json:"free_place"` PhotoUrl string `json:"photo_url"` }
type GetMediaTask ¶
type GetSecAdminByFilter ¶
type GetSecAdminByFilter struct {
SECs []SECAdminByFilter `json:"secs"`
}
type GetSecAdminById ¶
type GetSecByFilter ¶
type GetSecByFilter struct {
SECs []SECByFilter `json:"secs"`
}
type GetSecById ¶
type GetSecByTeamId ¶
type GetSecByTeamId struct {
Secs []SECByTeamId `json:"secs"`
}
type GetTeamByID ¶
type GetTeamsByFilter ¶
type GetTeamsByFilter struct {
Teams []GetTeam `json:"teams"`
}
type GetTextTask ¶
type GetUserById ¶
type GetUsersByFilter ¶
type GetUsersByFilter struct {
Users []UserByFilter `json:"users"`
}
type MasterClassAdminById ¶
type MasterClassByFilter ¶
type MasterClassById ¶
type SECAdminByFilter ¶
type SECByFilter ¶
type SECByTeamId ¶
type SECByTeamId struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` FIO string `json:"fio"` Phone string `json:"phone"` Telegram string `json:"telegram"` MasterClassId int `json:"master_class_id"` StartedAt string `json:"started_at"` EndedAt string `json:"ended_at"` Capacity int `json:"capacity"` FreePlace int `json:"free_place"` PhotoUrl string `json:"photo_url"` }
type UpdateAnswerOnTextTaskByID ¶
type UpdateAnswerOnTextTaskByID struct {
Status string `json:"status"`
}
type UpdateGivePoints ¶
type UpdateGivePoints struct {
TotalPoints int `json:"total_points"`
}
type UpdateSpendPoints ¶
type UpdateSpendPoints struct {
TotalPoints int `json:"total_points"`
}
type UpdateTeam ¶
type UpdateTeam struct {
TeamName string `json:"team_name"`
}
type UserByFilter ¶
type UserProfile ¶
type UserProfile struct { ID string `json:"id"` Name string `json:"name" db:"name"` Group string `json:"group" db:"group"` Telegram string `json:"telegram" db:"telegram"` VK string `json:"vk" db:"vk"` PhoneNumber string `json:"phone_number" db:"phone_number"` Email string `json:"email" db:"email"` TeamID string `json:"team_id" db:"team_id"` IsAdmin bool `json:"is_admin" db:"is_admin"` }
Source Files ¶
- create-team.go
- get-all-answer-by-team.go
- get-answer-by-team-by-id.go
- get-answer-on-media-task.go
- get-answer-on-text-task-by-id.go
- get-answers-on-media-task-by-filter.go
- get-master-class-by-id.go
- get-media-task.go
- get-sec-admin-by-filter.go
- get-sec-admin-by-id.go
- get-sec-by-filter.go
- get-sec-by-id.go
- get-sec-by-team-id.go
- get-team-by-id.go
- get-team.go
- get-teams-by-filter.go
- get-text-task.go
- get-user-by-id.go
- get-users-by-filter.go
- login.go
- logout.go
- register.go
- update-answer-on-text-task-by-id.go
- update-give-points.go
- update-spend-points.go
- update-team.go
- user-profile.go
Click to show internal directories.
Click to hide internal directories.