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 Language
- type LanguageCount
- type ModelCount
- type OverriddenAffiliations
- type OverriddenAgencies
- type OverriddenChannels
- type OverriddenDate
- type OverriddenField
- 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 ParseChannelType ¶ added in v0.20.0
func ParseChannelType(link string) ChannelType
ParseChannelType to parse url to channel type.
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 DebutDay int 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 LanguageID int64 ChannelTypes []ChannelType BirthdayDay int StartBirthdayMonth int EndBirthdayMonth int BloodTypes []string Genders []string Zodiacs []string StartSubscriber int EndSubscriber int StartVideoCount int EndVideoCount 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 LanguageCount ¶ added in v0.23.0
LanguageCount is entity for language count.
type ModelCount ¶ added in v0.14.0
ModelCount is entity for 2d & 3d model count.
type OverriddenAffiliations ¶ added in v0.20.0
OverriddenAffiliations is entity
type OverriddenAgencies ¶ added in v0.20.0
OverriddenAgencies is entity
type OverriddenChannels ¶ added in v0.20.0
OverriddenChannels is entity
type OverriddenDate ¶ added in v0.20.0
OverriddenDate is entity for overridden date.
type OverriddenField ¶ added in v0.20.0
type OverriddenField struct { DebutDate OverriddenDate RetirementDate OverriddenDate Agencies OverriddenAgencies Affiliations OverriddenAffiliations Channels OverriddenChannels }
OverriddenField is entity for overridden fields.
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 Languages []Language Channels []Channel Subscriber int MonthlySubscriber int VideoCount int SocialMedias []string OfficialWebsites []string Gender string Age *float64 Birthday *time.Time Height *float64 Weight *float64 BloodType string ZodiacSign string Emoji string OverriddenField OverriddenField 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.