Documentation ¶
Index ¶
- type Agency
- type BirthdayCount
- type BloodTypeCount
- type Channel
- type ChannelType
- type ChannelTypeCount
- type DebutRetireCount
- type DesignerCount
- type GenderCount
- type GetAllRequest
- type InAgencyCount
- type ModelCount
- type SearchMode
- type StatusCount
- type SubscriberCount
- type Video
- type VideoCount
- type VideoCountByDate
- type VideoDuration
- type Vtuber
- type ZodiacCount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BirthdayCount ¶ added in v0.14.0
BirthdayCount is entity for birthday count.
type BloodTypeCount ¶ added in v0.14.0
BloodTypeCount is entity for blood type count.
type Channel ¶
type Channel struct { ID string Name string Type ChannelType URL string Image string Subscriber int Videos []Video }
Channel is entity for channel.
type ChannelType ¶
type ChannelType string
ChannelType is channel types.
const ( ChannelYoutube ChannelType = "YOUTUBE" ChannelTwitch ChannelType = "TWITCH" ChannelBilibili ChannelType = "BILIBILI" ChannelNiconico ChannelType = "NICONICO" ChannelOther ChannelType = "OTHER" )
Available channel types.
func StrsToChannelTypes ¶ added in v0.7.0
func StrsToChannelTypes(strs []string) []ChannelType
StrsToChannelTypes to convert slice of string to slice of ChannelType.
type ChannelTypeCount ¶ added in v0.14.0
type ChannelTypeCount struct { ChannelType ChannelType Count int }
ChannelTypeCount is entity for channel type count.
type DebutRetireCount ¶ added in v0.14.0
DebutRetireCount is entity for debut & retire count.
type DesignerCount ¶ added in v0.14.0
DesignerCount is entity for designer count.
type GenderCount ¶ added in v0.14.0
GenderCount is entity for gender count.
type GetAllRequest ¶ added in v0.5.0
type GetAllRequest struct { Mode SearchMode Names string Name string OriginalName string Nickname string ExcludeActive bool ExcludeRetired bool StartDebutMonth int EndDebutMonth int StartDebutYear int EndDebutYear int StartRetiredMonth int EndRetiredMonth int StartRetiredYear int EndRetiredYear int Has2D *bool Has3D *bool CharacterDesigner string Character2DModeler string Character3DModeler string InAgency *bool Agency string AgencyID int64 ChannelTypes []ChannelType BirthdayDay int StartBirthdayMonth int EndBirthdayMonth int BloodTypes []string Genders []string Zodiacs []string StartSubscriber int EndSubscriber int Sort string Page int Limit int }
GetAllRequest is get all request model.
type InAgencyCount ¶ added in v0.14.0
InAgencyCount is entity for in agency count.
type ModelCount ¶ added in v0.14.0
ModelCount is entity for 2d & 3d model count.
type SearchMode ¶ added in v0.5.0
type SearchMode string
SearchMode is search mode.
const ( SearchModeAll SearchMode = "all" SearchModeSimple SearchMode = "simple" )
Available search mode.
type StatusCount ¶ added in v0.14.0
StatusCount is entity for status count.
type SubscriberCount ¶ added in v0.14.0
SubscriberCount is entity for subscriber count.
type Video ¶
type Video struct { ID string Title string URL string Image string StartDate *time.Time EndDate *time.Time }
Video is entity for video.
type VideoCount ¶ added in v0.14.0
VideoCount is entity for video count.
type VideoCountByDate ¶ added in v0.14.0
VideoCountByDate is entity for video count by date.
type VideoDuration ¶ added in v0.14.0
VideoDuration is entity for video duration.
type Vtuber ¶
type Vtuber struct { ID int64 Name string Image string OriginalNames []string Nicknames []string Caption string DebutDate *time.Time RetirementDate *time.Time Has2D bool Has3D bool CharacterDesigners []string Character2DModelers []string Character3DModelers []string Agencies []Agency Affiliations []string Channels []Channel SocialMedias []string OfficialWebsites []string Gender string Age *float64 Birthday *time.Time Height *float64 Weight *float64 BloodType string ZodiacSign string Emoji string UpdatedAt time.Time }
Vtuber is entity for vtuber.
func WikiaPageToVtuber ¶
WikiaPageToVtuber to convert wikia page to vtuber.
type ZodiacCount ¶ added in v0.14.0
ZodiacCount is entity for zodiac count.