Documentation ¶
Index ¶
- type ClubCreatePostData
- type ClubDescriptionPostData
- type ClubDescriptionResponse
- type FavPostData
- type GUserCreatePostData
- type Handler
- func (h *Handler) CreateClub() gin.HandlerFunc
- func (h *Handler) CreateFavoriteClub() gin.HandlerFunc
- func (h *Handler) CreateGeneralUser() gin.HandlerFunc
- func (h *Handler) DeleteClub() gin.HandlerFunc
- func (h *Handler) DeleteClubThumbnail() gin.HandlerFunc
- func (h *Handler) DeleteImage() gin.HandlerFunc
- func (h *Handler) GetAllClub() gin.HandlerFunc
- func (h *Handler) GetClubAchievement() gin.HandlerFunc
- func (h *Handler) GetClubActivityDetails() gin.HandlerFunc
- func (h *Handler) GetClubContent() gin.HandlerFunc
- func (h *Handler) GetClubDescription() gin.HandlerFunc
- func (h *Handler) GetClubFromSlug() gin.HandlerFunc
- func (h *Handler) GetClubFromUUID() gin.HandlerFunc
- func (h *Handler) GetClubImages() gin.HandlerFunc
- func (h *Handler) GetClubLinks() gin.HandlerFunc
- func (h *Handler) GetClubSchedule() gin.HandlerFunc
- func (h *Handler) GetClubThumbnail() gin.HandlerFunc
- func (h *Handler) GetClubVideo() gin.HandlerFunc
- func (h *Handler) GetFavoriteClubs() gin.HandlerFunc
- func (h *Handler) GetImages() gin.HandlerFunc
- func (h *Handler) GetIsFavoriteClub() gin.HandlerFunc
- func (h *Handler) GetSearch() gin.HandlerFunc
- func (h *Handler) GetSpecificImage() gin.HandlerFunc
- func (h *Handler) GetThumbnail() gin.HandlerFunc
- func (h *Handler) GetUser() gin.HandlerFunc
- func (h *Handler) GetUserUUID() gin.HandlerFunc
- func (h *Handler) UnFavoriteClub() gin.HandlerFunc
- func (h *Handler) UpdateClub() gin.HandlerFunc
- func (h *Handler) UpdateClubAchievement() gin.HandlerFunc
- func (h *Handler) UpdateClubActivityDetails() gin.HandlerFunc
- func (h *Handler) UpdateClubContent() gin.HandlerFunc
- func (h *Handler) UpdateClubDescription() gin.HandlerFunc
- func (h *Handler) UpdateClubImages() gin.HandlerFunc
- func (h *Handler) UpdateClubLinks() gin.HandlerFunc
- func (h *Handler) UpdateClubSchedule() gin.HandlerFunc
- func (h *Handler) UpdateClubThumbnail() gin.HandlerFunc
- func (h *Handler) UpdateClubVideo() gin.HandlerFunc
- func (h *Handler) UpdateUser() gin.HandlerFunc
- func (h *Handler) UploadImage() gin.HandlerFunc
- type IsFavResponse
- type Router
- type SearchContent
- type UnFavPostData
- type UpdatePostData
- type UserUpdatePostData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClubCreatePostData ¶
type ClubCreatePostData struct { Name string `json:"name"` Description string `json:"description"` ShortDescription string `json:"short_description"` Campus uint8 `json:"campus"` ClubType uint8 `json:"club_type"` ClubRemark *string `json:"club_remark"` ScheduleRemark *string `json:"schedule_remark"` Contents []models.ContentRequest `json:"contents"` Links []models.LinkRequest `json:"links"` Schedules []models.ScheduleRequest `json:"schedules"` Achievements []models.AchievementRequest `json:"achievements"` Images []models.ImageRequest `json:"images"` Videos []models.VideoRequest `json:"videos"` ActivityDetails []models.ActivityDetailRequest `json:"activity_details"` }
type ClubDescriptionPostData ¶
type ClubDescriptionPostData struct {
Description string `json:"description"`
}
type ClubDescriptionResponse ¶
type ClubDescriptionResponse struct {
Description string `json:"description"`
}
type FavPostData ¶
type FavPostData struct {
ClubUUID string `json:"club_uuid"`
}
type GUserCreatePostData ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) CreateClub ¶
func (h *Handler) CreateClub() gin.HandlerFunc
func (*Handler) CreateFavoriteClub ¶
func (h *Handler) CreateFavoriteClub() gin.HandlerFunc
func (*Handler) CreateGeneralUser ¶
func (h *Handler) CreateGeneralUser() gin.HandlerFunc
func (*Handler) DeleteClub ¶
func (h *Handler) DeleteClub() gin.HandlerFunc
func (*Handler) DeleteClubThumbnail ¶
func (h *Handler) DeleteClubThumbnail() gin.HandlerFunc
func (*Handler) DeleteImage ¶
func (h *Handler) DeleteImage() gin.HandlerFunc
func (*Handler) GetAllClub ¶
func (h *Handler) GetAllClub() gin.HandlerFunc
func (*Handler) GetClubAchievement ¶
func (h *Handler) GetClubAchievement() gin.HandlerFunc
func (*Handler) GetClubActivityDetails ¶
func (h *Handler) GetClubActivityDetails() gin.HandlerFunc
func (*Handler) GetClubContent ¶
func (h *Handler) GetClubContent() gin.HandlerFunc
func (*Handler) GetClubDescription ¶
func (h *Handler) GetClubDescription() gin.HandlerFunc
func (*Handler) GetClubFromSlug ¶
func (h *Handler) GetClubFromSlug() gin.HandlerFunc
func (*Handler) GetClubFromUUID ¶
func (h *Handler) GetClubFromUUID() gin.HandlerFunc
func (*Handler) GetClubImages ¶
func (h *Handler) GetClubImages() gin.HandlerFunc
func (*Handler) GetClubLinks ¶
func (h *Handler) GetClubLinks() gin.HandlerFunc
func (*Handler) GetClubSchedule ¶
func (h *Handler) GetClubSchedule() gin.HandlerFunc
func (*Handler) GetClubThumbnail ¶
func (h *Handler) GetClubThumbnail() gin.HandlerFunc
func (*Handler) GetClubVideo ¶
func (h *Handler) GetClubVideo() gin.HandlerFunc
func (*Handler) GetFavoriteClubs ¶
func (h *Handler) GetFavoriteClubs() gin.HandlerFunc
func (*Handler) GetImages ¶
func (h *Handler) GetImages() gin.HandlerFunc
func (*Handler) GetIsFavoriteClub ¶
func (h *Handler) GetIsFavoriteClub() gin.HandlerFunc
func (*Handler) GetSearch ¶ added in v0.0.3
func (h *Handler) GetSearch() gin.HandlerFunc
func (*Handler) GetSpecificImage ¶
func (h *Handler) GetSpecificImage() gin.HandlerFunc
func (*Handler) GetThumbnail ¶
func (h *Handler) GetThumbnail() gin.HandlerFunc
func (*Handler) GetUser ¶
func (h *Handler) GetUser() gin.HandlerFunc
func (*Handler) GetUserUUID ¶
func (h *Handler) GetUserUUID() gin.HandlerFunc
func (*Handler) UnFavoriteClub ¶
func (h *Handler) UnFavoriteClub() gin.HandlerFunc
func (*Handler) UpdateClub ¶
func (h *Handler) UpdateClub() gin.HandlerFunc
func (*Handler) UpdateClubAchievement ¶
func (h *Handler) UpdateClubAchievement() gin.HandlerFunc
func (*Handler) UpdateClubActivityDetails ¶
func (h *Handler) UpdateClubActivityDetails() gin.HandlerFunc
func (*Handler) UpdateClubContent ¶
func (h *Handler) UpdateClubContent() gin.HandlerFunc
func (*Handler) UpdateClubDescription ¶
func (h *Handler) UpdateClubDescription() gin.HandlerFunc
func (*Handler) UpdateClubImages ¶
func (h *Handler) UpdateClubImages() gin.HandlerFunc
func (*Handler) UpdateClubLinks ¶
func (h *Handler) UpdateClubLinks() gin.HandlerFunc
func (*Handler) UpdateClubSchedule ¶
func (h *Handler) UpdateClubSchedule() gin.HandlerFunc
func (*Handler) UpdateClubThumbnail ¶
func (h *Handler) UpdateClubThumbnail() gin.HandlerFunc
func (*Handler) UpdateClubVideo ¶
func (h *Handler) UpdateClubVideo() gin.HandlerFunc
func (*Handler) UpdateUser ¶
func (h *Handler) UpdateUser() gin.HandlerFunc
func (*Handler) UploadImage ¶
func (h *Handler) UploadImage() gin.HandlerFunc
type IsFavResponse ¶
type IsFavResponse struct {
Status bool `json:"status"`
}
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewV1Router ¶
func NewV1Router(rg *gin.RouterGroup, config *config.V1Config, logger *zap.Logger, repo repos.IRepository, middleware *middlewares.Middleware) *Router
type SearchContent ¶ added in v0.0.3
type SearchContent struct {
Content string `form:"content" binding:"required"`
}
type UnFavPostData ¶
type UnFavPostData struct {
ClubUUID string `json:"club_uuid"`
}
type UpdatePostData ¶
type UpdatePostData struct { Description string `json:"description"` ShortDescription string `json:"short_description"` ClubRemark *string `json:"club_remark"` ScheduleRemark *string `json:"schedule_remark"` Contents []models.ContentRequest `json:"contents"` Links []models.LinkRequest `json:"links"` Schedules []models.ScheduleRequest `json:"schedules"` Achievements []models.AchievementRequest `json:"achievements"` Images []models.ImageRequest `json:"images"` Videos []models.VideoRequest `json:"videos"` ActivityDetails []models.ActivityDetailRequest `json:"activity_details"` }
type UserUpdatePostData ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.