Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeTopic = "Topic" TypeUser = "User" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Anime ¶
type Anime struct { ID uint `json:"id"` Name string `json:"name"` Russian string `json:"russian"` Image Image `json:"image"` Url string `json:"url"` Kind string `json:"kind"` Score string `json:"score"` Status string `json:"status"` Episodes uint `json:"episodes"` EpisodesAired uint `json:"episodes_aired"` AiredOn string `json:"aired_on"` ReleasedOn string `json:"released_on"` Rating string `json:"rating"` English []string `json:"english"` Japanese []string `json:"japanese"` Synonyms []string `json:"synonyms"` LicenseNameRu string `json:"license_name_ru"` Duration uint `json:"duration"` Description string `json:"description"` DescriptionHtml string `json:"description_html"` DescriptionSource *string `json:"description_source"` Franchise string `json:"franchise"` Favoured bool `json:"favoured"` Anons bool `json:"anons"` Ongoing bool `json:"ongoing"` ThreadID uint `json:"thread_id"` TopicID uint `json:"topic_id"` MyanimelistID uint `json:"myanimelist_id"` RatesStatutesStats []RatesStatutesStats `json:"rates_statuses_stats"` UpdatedAt string `json:"updated_at"` NextEpisodeAt *string `json:"next_episode_at"` Fansubbers []string `json:"fansubbers"` Fandubbers []string `json:"fandubbers"` Licensors []string `json:"licensors"` Genres []Genre `json:"genres"` Studios []Studio `json:"studios"` Videos []Video `json:"videos"` Screenshots []Screenshot `json:"screenshots"` }
type Character ¶
type Character struct { ID uint `json:"id"` Name string `json:"name"` Russian *string `json:"russian"` Image Image `json:"image"` URL string `json:"url"` Altname *string `json:"altname"` Japanese string `json:"japanese"` Description *string `json:"description"` DescriptionSource *string `json:"description_source"` ThreadID uint `json:"thread_id"` TopicID uint `json:"topic_id"` }
type Comment ¶
type Comment struct { ID uint `json:"id"` UserID uint `json:"user_id"` CommentableID uint `json:"commentable_id"` CommentableType string `json:"commentable_type"` Body string `json:"body"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` IsOfftopic bool `json:"is_offtopic"` User User `json:"user"` }
type Dialog ¶
type Dialog struct { TargetUser User `json:"target_user"` Message DialogMessage `json:"message"` }
type DialogMessage ¶
type Me ¶
type Me struct { ID uint `json:"id"` Nickname string `json:"nickname"` Avatar string `json:"avatar"` Image UserAvatar `json:"image"` LastOnline string `json:"last_online_at"` URL string `json:"url"` Name string `json:"name,omitempty"` Sex string `json:"sex,omitempty"` Website string `json:"website,omitempty"` BirthOn string `json:"birth_on,omitempty"` FullYears int `json:"full_years,omitempty"` Locale string `json:"locale"` }
type RatesStatutesStats ¶
type Screenshot ¶
type TopicForum ¶
type UploadedImage ¶
type UserAvatar ¶
type UserProfile ¶
type UserProfile struct { ID uint `json:"id"` Nickname string `json:"nickname"` Avatar string `json:"avatar"` Image UserAvatar `json:"image"` LastOnlineAt time.Time `json:"last_online_at"` URL string `json:"url"` Name *string `json:"name,omitempty"` Sex *string `json:"sex,omitempty"` FullYears *int `json:"full_years"` LastOnline string `json:"last_online"` Website string `json:"website"` Location *string `json:"location,omitempty"` Banned bool `json:"banned"` About string `json:"about"` AboutHTML string `json:"about_html"` CommonInfo []string `json:"common_info"` ShowComments bool `json:"show_comments"` InFriends *bool `json:"in_friends"` IsIgnored bool `json:"is_ignored"` StyleID *int `json:"style_id"` }
Click to show internal directories.
Click to hide internal directories.