Documentation ¶
Index ¶
- type Artist
- type ArtistPost
- type ArtistPosts
- type CaptionS3Path
- type Community
- type CommunityUser
- type Geverse
- func (g *Geverse) GetArtistMoments(ctx context.Context, communityID, artistID int64) (*ArtistPosts, error)
- func (g *Geverse) GetArtistPosts(ctx context.Context, communityID int64) (*ArtistPosts, error)
- func (g *Geverse) GetCommunity(ctx context.Context, communityID int64) (*Community, error)
- func (g *Geverse) GetMe(ctx context.Context) (*Me, error)
- func (g *Geverse) GetMediaPosts(ctx context.Context, communityID int64) (*MediaPosts, error)
- func (g *Geverse) GetNotices(ctx context.Context, communityID int64) ([]Notice, error)
- type Me
- type MediaCategory
- type MediaPost
- type MediaPosts
- type Notice
- type Photo
- type Tab
- type Video
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artist ¶
type Artist struct { ID int64 `json:"id"` CommunityUserID int64 `json:"communityUserId"` Name string `json:"name"` IsOnline bool `json:"isOnline"` ProfileImgPath string `json:"profileImgPath"` GroupName string `json:"groupName"` MaxCommentCount int64 `json:"maxCommentCount"` CommunityID int64 `json:"communityId"` IsEnabled bool `json:"isEnabled"` HasNewToFans bool `json:"hasNewToFans"` HasNewPrivateToFans bool `json:"hasNewPrivateToFans"` ToFanLastID int64 `json:"toFanLastId"` NameI18N string `json:"nameI18n"` }
type ArtistPost ¶
type ArtistPost struct { ID int64 `json:"id"` CommunityUser CommunityUser `json:"communityUser"` Community Community `json:"community"` CommunityTabID int64 `json:"communityTabId"` Type string `json:"type"` Body string `json:"body"` CommentCount int `json:"commentCount"` LikeCount int `json:"likeCount"` MaxCommentCount int64 `json:"maxCommentCount"` HasMyLike bool `json:"hasMyLike"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` IsLocked bool `json:"isLocked"` IsBlind bool `json:"isBlind"` IsActive bool `json:"isActive"` IsPrivate bool `json:"isPrivate"` Photos []Photo `json:"photos,omitempty"` IsHotTrendingPost bool `json:"isHotTrendingPost"` }
type ArtistPosts ¶
type ArtistPosts struct { Posts []ArtistPost `json:"posts"` IsEnded bool `json:"isEnded"` }
type CaptionS3Path ¶
type Community ¶
type Community struct { ID int64 `json:"id"` Name string `json:"name"` Description string `json:"description"` MemberCount int `json:"memberCount"` HomeBannerImgPath string `json:"homeBannerImgPath"` IconImgPath string `json:"iconImgPath"` BannerImgPath string `json:"bannerImgPath"` Fullname []string `json:"fullname"` ShowMemberCount bool `json:"showMemberCount"` FcMember bool `json:"fcMember"` MembershipBenefitLink string `json:"membershipBenefitLink"` Artists []Artist `json:"artists"` Tabs []Tab `json:"tabs"` }
type CommunityUser ¶
type CommunityUser struct { ID int64 `json:"id"` CommunityID int64 `json:"communityId"` ArtistID int64 `json:"artistId"` ProfileNickname string `json:"profileNickname"` ProfileImgPath string `json:"profileImgPath"` Status string `json:"status"` Grade string `json:"grade"` Official bool `json:"official"` FcMember bool `json:"fcMember"` JoinedAt time.Time `json:"joinedAt"` }
type Geverse ¶
type Geverse struct {
// contains filtered or unexported fields
}
func (*Geverse) GetArtistMoments ¶
func (*Geverse) GetArtistPosts ¶
func (*Geverse) GetCommunity ¶
func (*Geverse) GetMediaPosts ¶
type Me ¶
type Me struct { UserKey string `json:"userKey"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Email string `json:"email"` MyCommunities []Community `json:"myCommunities"` Profiles []CommunityUser `json:"profiles"` SocialTypes []interface{} `json:"socialTypes"` // TODO: no example yet, did not want to connect my SNS accounts… LanguageCode string `json:"languageCode"` }
type MediaCategory ¶
type MediaPost ¶
type MediaPost struct { ID int64 `json:"id"` CommunityID int64 `json:"communityId"` Body string `json:"body"` Type string `json:"type"` ThumbnailPath string `json:"thumbnailPath"` Photos []Photo `json:"photos"` Video Video `json:"video,omitempty"` Title string `json:"title"` Level string `json:"level"` TotalPlaytime int `json:"totalPlaytime"` IsExtVideoVertical bool `json:"isExtVideoVertical"` ViewCount int `json:"viewCount"` LikeCount int `json:"likeCount"` PlayCount int `json:"playCount"` HasMyLike bool `json:"hasMyLike"` CreatedAt time.Time `json:"createdAt"` ExtVideoPath string `json:"extVideoPath,omitempty"` YouTubeID string `json:"youtubeId,omitempty"` }
type MediaPosts ¶
type MediaPosts struct { Medias []MediaPost `json:"medias"` TotalCount int `json:"totalCount"` IsEnded bool `json:"isEnded"` LastID int64 `json:"lastId"` MediaCategories []MediaCategory `json:"mediaCategories"` }
type Photo ¶
type Photo struct { ID int64 `json:"id"` ContentIndex int `json:"contentIndex"` ThumbnailImgURL string `json:"thumbnailImgUrl"` ThumbnailImgWidth int `json:"thumbnailImgWidth"` ThumbnailImgHeight int `json:"thumbnailImgHeight"` OrgImgURL string `json:"orgImgUrl"` OrgImgWidth int `json:"orgImgWidth"` OrgImgHeight int `json:"orgImgHeight"` DownloadImgFilename string `json:"downloadImgFilename"` }
type Video ¶
type Video struct { ID int64 `json:"id"` ContentIndex int `json:"contentIndex"` Playtime int `json:"playtime"` ThumbnailImgPath string `json:"thumbnailImgPath"` ThumbnailWidth int `json:"thumbnailWidth"` ThumbnailHeight int `json:"thumbnailHeight"` CommunityID int64 `json:"communityId"` Status string `json:"status"` HlsPath string `json:"hlsPath"` DashPath string `json:"dashPath"` PlayreadyPath string `json:"playreadyPath"` VideoWidth int `json:"videoWidth"` VideoHeight int `json:"videoHeight"` Level string `json:"level"` IsVertical bool `json:"isVertical"` CaptionS3Paths []CaptionS3Path `json:"captionS3Paths"` }
Click to show internal directories.
Click to hide internal directories.