Versions in this module Expand all Collapse all v1 v1.3.0 Nov 23, 2021 v1.2.2 Aug 25, 2019 Changes in this version + func SendEmail(email string, subject string, html string) error type APIKeysData + Mailgun struct{ ... } + type EmailRenderer interface + Notification func(notification *Notification) string + var HTMLEmailRenderer EmailRenderer v1.2.1 Jul 14, 2019 Changes in this version type Anime + ID AnimeID + type AnimeID = string + type Image struct + AverageColor HSLColor + Extension string + Height int + LastModified int64 + Width int + type MediaTitle struct + Canonical string + English string + Hiragana string + Japanese string + Romaji string + Synonyms []string + func (title *MediaTitle) ByUser(user *User) string type User + Image Image + func (user *User) SetImageBytes(data []byte) error v1.2.0 Jun 3, 2019 Changes in this version + const AnimeDateFormat + const AnimeImageJPEGQuality + const AnimeImageLargeHeight + const AnimeImageLargeWidth + const AnimeImageMediumHeight + const AnimeImageMediumWidth + const AnimeImageQualityBonusLarge + const AnimeImageQualityBonusLowDPI + const AnimeImageQualityBonusMedium + const AnimeImageQualityBonusSmall + const AnimeImageSmallHeight + const AnimeImageSmallWidth + const AnimeImageWebPQuality + const AnimeListStatusCompleted + const AnimeListStatusDropped + const AnimeListStatusHold + const AnimeListStatusPlanned + const AnimeListStatusWatching + const AvatarJPEGQuality + const AvatarMaxSize + const AvatarSmallSize + const AvatarWebPQuality + const AverageRating + const BotUserID + const CharacterImageJPEGQuality + const CharacterImageLargeHeight + const CharacterImageLargeWidth + const CharacterImageMediumHeight + const CharacterImageMediumWidth + const CharacterImageQualityBonusLarge + const CharacterImageQualityBonusLowDPI + const CharacterImageQualityBonusMedium + const CharacterImageQualityBonusSmall + const CharacterImageSmallHeight + const CharacterImageSmallWidth + const CharacterImageWebPQuality + const CoverJPEGQuality + const CoverMaxHeight + const CoverMaxWidth + const CoverSmallHeight + const CoverSmallWidth + const CoverWebPQuality + const DefaultInventorySlotCount + const DefaultRating + const EarthRadius + const GroupImageJPEGQuality + const GroupImageLargeHeight + const GroupImageLargeWidth + const GroupImageQualityBonusLarge + const GroupImageQualityBonusLowDPI + const GroupImageQualityBonusSmall + const GroupImageSmallHeight + const GroupImageSmallWidth + const GroupImageWebPQuality + const IgnoreAnimeDifferenceEditorScore + const MaxRating + const NotificationTypeAnimeEpisode + const NotificationTypeAnimeFinished + const NotificationTypeFollow + const NotificationTypeForumReply + const NotificationTypeGroupJoin + const NotificationTypeLike + const NotificationTypePackageTest + const NotificationTypePurchase + const NotificationTypeTest + const RatingCountThreshold + const ShopItemRarityCommon + const ShopItemRarityLegendary + const ShopItemRarityRare + const ShopItemRaritySuperior + const ShopItemRarityUnique + const SortByAiringDate + const SortByRating + const SortByTitle + const TitleLanguageCanonical + const TitleLanguageEnglish + const TitleLanguageJapanese + const TitleLanguageRomaji + var API = api.New("/api/", DB) + var AnimeSourceHumanReadable = map[string]string + var DB = Node.Namespace("arn").RegisterTypes((*ActivityCreate)(nil), (*ActivityConsumeAnime)(nil), (*AMV)(nil), ...) + var DataLists = map[string][]*Option + var Genres []string + var JapaneseTokenizer = &client.Tokenizer + var Kitsu = Node.Namespace("kitsu").RegisterTypes((*kitsu.Anime)(nil), (*kitsu.Mapping)(nil), (*kitsu.Character)(nil)) + var MAL = Node.Namespace("mal").RegisterTypes((*mal.Anime)(nil), (*mal.Character)(nil)) + var MediaHost = "media.notify.moe" + var Node = nano.New(nano.Configuration{ ... }) + var Nyaa = new(nyaaAnimeProvider) + var OriginalImageExtensions = []string + var Root = os.Getenv("ARN_ROOT") + func AddAction() *api.Action + func AgeInYears(birthDayString string) int + func AllKitsuAnime() []*kitsu.Anime + func AniListAnimeListStatus(item *anilist.AnimeListItem) string + func AnimeRatingStars(rating float64) string + func AuthorizeIfLoggedIn(ctx aero.Context) error + func AuthorizeIfLoggedInAndOwnData(ctx aero.Context, userIDParameterName string) error + func BroadcastEvent(event *aero.Event) + func Contains(collection []string, t string) bool + func CreateDifferenceID(animeID string, dataProvider string, malAnimeID string, typeName string) string + func DateTimeUTC() string + func DateToSeason(date time.Time) string + func EpisodeCountMax(episodes int) string + func EpisodesToString(episodes int) string + func FilterIDTags(tags []string, idType string) []string + func FilterKitsuAnime(filter func(*kitsu.Anime) bool) []*kitsu.Anime + func FilterKitsuMappings(filter func(*kitsu.Mapping) bool) []*kitsu.Mapping + func FindFileWithExtension(baseName string, dir string, extensions []string) string + func FixAnimeDescription(description string) string + func FixGender(gender string) string + func GenerateID(collection string) string + func GetCompanyToAnimeMap() map[string][]*Anime + func GetForumIcon(category string) string + func GetGenreIDByName(genre string) string + func GetGenreIcon(genre string) string + func GetObjectLink(typeName string, id string) string + func GetObjectTitle(typeName string, id string) string + func HostName() string + func HumanReadableAnimeRelation(relationName string) string + func IndexOf(collection []string, t string) int + func IsAnimeDifferenceIgnored(animeID string, dataProvider string, malAnimeID string, typeName string, ...) bool + func IsDevelopment() bool + func IsIPv6(ip string) bool + func IsLocked(obj interface{}) bool + func IsProduction() bool + func IsTest() bool + func JSON(obj interface{}) string + func JoinAction() *api.Action + func KitsuStatusToARNStatus(status string) string + func LeaveAction() *api.Action + func LikeAction() *api.Action + func ListItemStatusName(status string) string + func LoadImage(path string) (img image.Image, format string, err error) + func LockAction() *api.Action + func MyAnimeListStatusToARNStatus(status int) string + func NewAnimeFromKitsuAnime(kitsuAnime *kitsu.Anime) (*Anime, *AnimeCharacters, *AnimeRelations, *AnimeEpisodes) + func OverallRatingName(episodes int) string + func PanicOnError(err error) + func PayPal() (*paypalsdk.Client, error) + func PublishAction() *api.Action + func RGBToHSL(r, g, b float64) (h, s, l float64) + func RegisterUser(user *User) + func RemoveAction() *api.Action + func SetObjectProperties(rootObj interface{}, updates map[string]interface{}) error + func SortActivitiesLatestFirst(entries []Activity) + func SortAnimeByPopularity(animes []*Anime) + func SortAnimeByQuality(animes []*Anime) + func SortAnimeByQualityDetailed(animes []*Anime, filterStatus string) + func SortCharactersByLikes(characters []*Character) + func SortCompaniesPopularFirst(companies []*Company) + func SortEditLogEntriesLatestFirst(entries []*EditLogEntry) + func SortPersonsByLikes(persons []*Person) + func SortPostablesLatestFirst(posts []Postable) + func SortPostsLatestFirst(posts []*Post) + func SortPostsLatestLast(posts []*Post) + func SortQuotesLatestFirst(quotes []*Quote) + func SortQuotesPopularFirst(quotes []*Quote) + func SortSoundTracksLatestFirst(tracks []*SoundTrack) + func SortSoundTracksPopularFirst(tracks []*SoundTrack) + func SortThreads(threads []*Thread) + func SortThreadsLatestFirst(threads []*Thread) + func SortUsersFollowers(users []*User) + func SortUsersLastSeenFirst(users []*User) + func SortUsersLastSeenLast(users []*User) + func StreamAMVs() <-chan *AMV + func StreamActivities() <-chan Activity + func StreamActivityCreates() <-chan *ActivityCreate + func StreamAnalytics() <-chan *Analytics + func StreamAnime() <-chan *Anime + func StreamAnimeCharacters() <-chan *AnimeCharacters + func StreamAnimeEpisodes() <-chan *AnimeEpisodes + func StreamAnimeLists() <-chan *AnimeList + func StreamAnimeRelations() <-chan *AnimeRelations + func StreamCharacters() <-chan *Character + func StreamClientErrorReports() <-chan *ClientErrorReport + func StreamCompanies() <-chan *Company + func StreamEditLogEntries() <-chan *EditLogEntry + func StreamGroups() <-chan *Group + func StreamIgnoreAnimeDifferences() <-chan *IgnoreAnimeDifference + func StreamKitsuAnime() <-chan *kitsu.Anime + func StreamKitsuMappings() <-chan *kitsu.Mapping + func StreamNotifications() <-chan *Notification + func StreamPayPalPayments() <-chan *PayPalPayment + func StreamPersons() <-chan *Person + func StreamPosts() <-chan *Post + func StreamPurchases() <-chan *Purchase + func StreamQuotes() <-chan *Quote + func StreamShopItems() <-chan *ShopItem + func StreamSoundTracks() <-chan *SoundTrack + func StreamThreads() <-chan *Thread + func StreamUserFollows() <-chan *UserFollows + func StreamUserNotifications() <-chan *UserNotifications + func StreamUsers() <-chan *User + func UnlikeAction() *api.Action + func UnlockAction() *api.Action + func UnpublishAction() *api.Action + func UserFollowerCountMap() map[string]int + type AMV struct + ExtraAnimeIDs []string + File string + Info video.Info + Links []Link + MainAnimeID string + Tags []string + Title AMVTitle + VideoEditorIDs []string + func AllAMVs() []*AMV + func FilterAMVs(filter func(*AMV) bool) []*AMV + func GetAMV(id string) (*AMV, error) + func (amv *AMV) Authorize(ctx aero.Context, action string) error + func (amv *AMV) Create(ctx aero.Context) error + func (amv *AMV) Delete() error + func (amv *AMV) DeleteInContext(ctx aero.Context) error + func (amv *AMV) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (consumed bool, err error) + func (amv *AMV) ExtraAnime() []*Anime + func (amv *AMV) Link() string + func (amv *AMV) MainAnime() *Anime + func (amv *AMV) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (amv *AMV) OnLike(likedBy *User) + func (amv *AMV) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (amv *AMV) Publish() error + func (amv *AMV) RefreshInfo() error + func (amv *AMV) Save() + func (amv *AMV) Self() Loggable + func (amv *AMV) SetVideoBytes(data []byte) error + func (amv *AMV) String() string + func (amv *AMV) TitleByUser(user *User) string + func (amv *AMV) TypeName() string + func (amv *AMV) Unpublish() error + func (amv *AMV) VideoEditors() []*User + func (obj *AMV) AddPost(postID string) + func (obj *AMV) CountLikes() int + func (obj *AMV) CountPosts() int + func (obj *AMV) Creator() *User + func (obj *AMV) CreatorID() UserID + func (obj *AMV) Editor() *User + func (obj *AMV) GetCreated() string + func (obj *AMV) GetCreatedBy() UserID + func (obj *AMV) GetCreatedTime() time.Time + func (obj *AMV) GetID() string + func (obj *AMV) GetIsDraft() bool + func (obj *AMV) Like(userID UserID) + func (obj *AMV) LikedBy(userID UserID) bool + func (obj *AMV) Posts() []*Post + func (obj *AMV) PostsRelevantFirst(count int) []*Post + func (obj *AMV) RemovePost(postID string) bool + func (obj *AMV) SetIsDraft(isDraft bool) + func (obj *AMV) Unlike(userID UserID) + type AMVTitle SoundTrackTitle + func (title *AMVTitle) ByUser(user *User) string + func (title *AMVTitle) String() string + type APIKeysData struct + AniList struct{ ... } + Discord struct{ ... } + Facebook struct{ ... } + Google struct{ ... } + GoogleAPI struct{ ... } + IPInfoDB struct{ ... } + Osu struct{ ... } + PayPal struct{ ... } + S3 struct{ ... } + SMTP struct{ ... } + SoundCloud struct{ ... } + Twitter struct{ ... } + VAPID struct{ ... } + var APIKeys APIKeysData + type Activity interface + Creator func() *User + GetCreated func() string + GetCreatedBy func() UserID + GetCreatedTime func() time.Time + GetID func() string + TypeName func() string + func AllActivities() []Activity + func FilterActivities(filter func(Activity) bool) []Activity + type ActivityConsumeAnime struct + AnimeID string + FromEpisode int + ToEpisode int + func FilterActivitiesConsumeAnime(filter func(*ActivityConsumeAnime) bool) []*ActivityConsumeAnime + func NewActivityConsumeAnime(animeID string, fromEpisode int, toEpisode int, userID UserID) *ActivityConsumeAnime + func (activity *ActivityConsumeAnime) Anime() *Anime + func (activity *ActivityConsumeAnime) Authorize(ctx aero.Context, action string) error + func (activity *ActivityConsumeAnime) Delete() error + func (activity *ActivityConsumeAnime) DeleteInContext(ctx aero.Context) error + func (activity *ActivityConsumeAnime) Save() + func (activity *ActivityConsumeAnime) Self() Loggable + func (activity *ActivityConsumeAnime) TypeName() string + func (obj *ActivityConsumeAnime) CountLikes() int + func (obj *ActivityConsumeAnime) Creator() *User + func (obj *ActivityConsumeAnime) CreatorID() UserID + func (obj *ActivityConsumeAnime) GetCreated() string + func (obj *ActivityConsumeAnime) GetCreatedBy() UserID + func (obj *ActivityConsumeAnime) GetCreatedTime() time.Time + func (obj *ActivityConsumeAnime) GetID() string + func (obj *ActivityConsumeAnime) Like(userID UserID) + func (obj *ActivityConsumeAnime) LikedBy(userID UserID) bool + func (obj *ActivityConsumeAnime) Unlike(userID UserID) + type ActivityCreate struct + ObjectID string + ObjectType string + func NewActivityCreate(objectType string, objectID string, userID UserID) *ActivityCreate + func (activity *ActivityCreate) Delete() error + func (activity *ActivityCreate) Object() Likeable + func (activity *ActivityCreate) Postable() Postable + func (activity *ActivityCreate) Save() + func (activity *ActivityCreate) Self() Loggable + func (activity *ActivityCreate) TypeName() string + func (obj *ActivityCreate) Creator() *User + func (obj *ActivityCreate) CreatorID() UserID + func (obj *ActivityCreate) GetCreated() string + func (obj *ActivityCreate) GetCreatedBy() UserID + func (obj *ActivityCreate) GetCreatedTime() time.Time + func (obj *ActivityCreate) GetID() string + type AiringDate struct + End string + Start string + func (airing *AiringDate) EndDateHuman() string + func (airing *AiringDate) EndTimeHuman() string + func (airing *AiringDate) StartDateHuman() string + func (airing *AiringDate) StartTimeHuman() string + type Analytics struct + Connection ConnectionAnalytics + General GeneralAnalytics + Screen ScreenAnalytics + System SystemAnalytics + UserID string + func AllAnalytics() []*Analytics + func GetAnalytics(userID UserID) (*Analytics, error) + func (analytics *Analytics) Authorize(ctx aero.Context, action string) error + func (analytics *Analytics) Create(ctx aero.Context) error + func (analytics *Analytics) Save() + type AnalyticsItem struct + Key string + Value float64 + type AniListAnimeFinder struct + func NewAniListAnimeFinder() *AniListAnimeFinder + func (finder *AniListAnimeFinder) GetAnime(id string, malID string) *Anime + type AniListMatch struct + ARNAnime *Anime + AniListItem *anilist.AnimeListItem + func (match *AniListMatch) JSON() string + type Anime struct + EndDate string + EpisodeCount int + EpisodeLength int + FirstChannel string + Genres []string + Image AnimeImage + LicensorIDs []string + Links []*Link + Popularity *AnimePopularity + ProducerIDs []string + Rating *AnimeRating + Source string + StartDate string + Status string + StudioIDs []string + Summary string + Title *AnimeTitle + Trailers []*ExternalMedia + Type string + func AllAnime() []*Anime + func FilterAnime(filter func(*Anime) bool) []*Anime + func GetAnime(id string) (*Anime, error) + func NewAnime() *Anime + func (anime *Anime) AddLicensor(companyID string) + func (anime *Anime) AddProducer(companyID string) + func (anime *Anime) AddStudio(companyID string) + func (anime *Anime) Authorize(ctx aero.Context, action string) error + func (anime *Anime) AverageColor() string + func (anime *Anime) CalculatedStatus() string + func (anime *Anime) Characters() *AnimeCharacters + func (anime *Anime) Delete() error + func (anime *Anime) DeleteInContext(ctx aero.Context) error + func (anime *Anime) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (consumed bool, err error) + func (anime *Anime) EndDateTime() time.Time + func (anime *Anime) EpisodeByNumber(number int) *AnimeEpisode + func (anime *Anime) EpisodeCountString() string + func (anime *Anime) Episodes() *AnimeEpisodes + func (anime *Anime) HasImage() bool + func (anime *Anime) ImageLink(size string) string + func (anime *Anime) ImportKitsuMapping(mapping *kitsu.Mapping) + func (anime *Anime) Licensors() []*Company + func (anime *Anime) Link() string + func (anime *Anime) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (anime *Anime) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (anime *Anime) Prequels() []*Anime + func (anime *Anime) Producers() []*Company + func (anime *Anime) RefreshAnimeCharacters() (*AnimeCharacters, error) + func (anime *Anime) RefreshEpisodes() error + func (anime *Anime) Relations() *AnimeRelations + func (anime *Anime) Save() + func (anime *Anime) Score() float64 + func (anime *Anime) ScoreHumanReadable() string + func (anime *Anime) Season() string + func (anime *Anime) Self() Loggable + func (anime *Anime) SetImage(metaImage *imageserver.MetaImage) error + func (anime *Anime) SetImageBytes(data []byte) error + func (anime *Anime) ShoboiEpisodes() ([]*AnimeEpisode, error) + func (anime *Anime) StartDateTime() time.Time + func (anime *Anime) StatusHumanReadable() string + func (anime *Anime) String() string + func (anime *Anime) Studios() []*Company + func (anime *Anime) TitleByUser(user *User) string + func (anime *Anime) TwistEpisodes() ([]*AnimeEpisode, error) + func (anime *Anime) TypeHumanReadable() string + func (anime *Anime) TypeName() string + func (anime *Anime) UpcomingEpisode() *UpcomingEpisode + func (anime *Anime) UpcomingEpisodes() []*UpcomingEpisode + func (anime *Anime) UsersWatchingOrPlanned() []*User + func (obj *Anime) AddPost(postID string) + func (obj *Anime) CountLikes() int + func (obj *Anime) CountPosts() int + func (obj *Anime) Creator() *User + func (obj *Anime) CreatorID() UserID + func (obj *Anime) Editor() *User + func (obj *Anime) GetCreated() string + func (obj *Anime) GetCreatedBy() UserID + func (obj *Anime) GetCreatedTime() time.Time + func (obj *Anime) GetID() string + func (obj *Anime) GetIsDraft() bool + func (obj *Anime) GetMapping(name string) string + func (obj *Anime) Like(userID UserID) + func (obj *Anime) LikedBy(userID UserID) bool + func (obj *Anime) Posts() []*Post + func (obj *Anime) PostsRelevantFirst(count int) []*Post + func (obj *Anime) RemoveMapping(name string) bool + func (obj *Anime) RemovePost(postID string) bool + func (obj *Anime) SetIsDraft(isDraft bool) + func (obj *Anime) SetMapping(serviceName string, serviceID string) + func (obj *Anime) Unlike(userID UserID) + type AnimeCharacter struct + CharacterID string + Role string + func (char *AnimeCharacter) Character() *Character + func (character *AnimeCharacter) Create(ctx aero.Context) error + type AnimeCharacters struct + AnimeID string + Items []*AnimeCharacter + func GetAnimeCharacters(animeID string) (*AnimeCharacters, error) + func (characters *AnimeCharacters) Add(animeCharacter *AnimeCharacter) error + func (characters *AnimeCharacters) Anime() *Anime + func (characters *AnimeCharacters) Authorize(ctx aero.Context, action string) error + func (characters *AnimeCharacters) Contains(characterID string) bool + func (characters *AnimeCharacters) Delete() error + func (characters *AnimeCharacters) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (consumed bool, err error) + func (characters *AnimeCharacters) FindByMapping(service string, serviceID string) *AnimeCharacter + func (characters *AnimeCharacters) First(count int) []*AnimeCharacter + func (characters *AnimeCharacters) GetID() string + func (characters *AnimeCharacters) Link() string + func (characters *AnimeCharacters) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (characters *AnimeCharacters) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (characters *AnimeCharacters) Save() + func (characters *AnimeCharacters) Self() Loggable + func (characters *AnimeCharacters) String() string + func (characters *AnimeCharacters) TypeName() string + type AnimeEpisode struct + AiringDate AiringDate + Links map[string]string + Number int + Title EpisodeTitle + func NewAnimeEpisode() *AnimeEpisode + func (a *AnimeEpisode) Available() bool + func (a *AnimeEpisode) AvailableOn(serviceName string) bool + func (a *AnimeEpisode) Merge(b *AnimeEpisode) + type AnimeEpisodes struct + AnimeID string + Items []*AnimeEpisode + func GetAnimeEpisodes(id string) (*AnimeEpisodes, error) + func (episodes *AnimeEpisodes) Anime() *Anime + func (episodes *AnimeEpisodes) Authorize(ctx aero.Context, action string) error + func (episodes *AnimeEpisodes) AvailableCount() int + func (episodes *AnimeEpisodes) Delete() error + func (episodes *AnimeEpisodes) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (consumed bool, err error) + func (episodes *AnimeEpisodes) Find(episodeNumber int) (*AnimeEpisode, int) + func (episodes *AnimeEpisodes) GetID() string + func (episodes *AnimeEpisodes) Last(count int) []*AnimeEpisode + func (episodes *AnimeEpisodes) Link() string + func (episodes *AnimeEpisodes) ListString() string + func (episodes *AnimeEpisodes) Merge(b []*AnimeEpisode) + func (episodes *AnimeEpisodes) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (episodes *AnimeEpisodes) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (episodes *AnimeEpisodes) Save() + func (episodes *AnimeEpisodes) Self() Loggable + func (episodes *AnimeEpisodes) Sort() + func (episodes *AnimeEpisodes) String() string + func (episodes *AnimeEpisodes) TypeName() string + type AnimeFinder struct + func NewAnimeFinder(mappingName string) *AnimeFinder + func (finder *AnimeFinder) GetAnime(id string) *Anime + type AnimeImage struct + AverageColor HSLColor + Extension string + Height int + LastModified int64 + Width int + type AnimeList struct + Items []*AnimeListItem + UserID UserID + func AllAnimeLists() ([]*AnimeList, error) + func GetAnimeList(userID UserID) (*AnimeList, error) + func (list *AnimeList) Add(animeID string) error + func (list *AnimeList) Authorize(ctx aero.Context, action string) error + func (list *AnimeList) Contains(animeID string) bool + func (list *AnimeList) FilterStatus(status string) *AnimeList + func (list *AnimeList) Find(animeID string) *AnimeListItem + func (list *AnimeList) Genres() map[string][]*AnimeListItem + func (list *AnimeList) GetID() string + func (list *AnimeList) HasItemsWithStatus(status string) bool + func (list *AnimeList) Import(item *AnimeListItem) + func (list *AnimeList) NormalizeRatings() + func (list *AnimeList) Remove(animeID string) bool + func (list *AnimeList) RemoveDuplicates() + func (list *AnimeList) Save() + func (list *AnimeList) Self() Loggable + func (list *AnimeList) Sort() + func (list *AnimeList) SortByRating() + func (list *AnimeList) SplitByStatus() map[string]*AnimeList + func (list *AnimeList) Top(count int) []*AnimeListItem + func (list *AnimeList) TopGenres(count int) []string + func (list *AnimeList) TypeName() string + func (list *AnimeList) User() *User + func (list *AnimeList) Watching() *AnimeList + func (list *AnimeList) WithoutPrivateItems() *AnimeList + type AnimeListItem struct + AnimeID string + Created string + Edited string + Episodes int + Notes string + Private bool + Rating AnimeListItemRating + RewatchCount int + Status string + func (item *AnimeListItem) AfterEdit(ctx aero.Context) error + func (item *AnimeListItem) Anime() *Anime + func (item *AnimeListItem) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (bool, error) + func (item *AnimeListItem) Link(userNick string) string + func (item *AnimeListItem) OnEpisodesChange() + func (item *AnimeListItem) OnStatusChange() + func (item *AnimeListItem) StatusHumanReadable() string + type AnimeListItemRating struct + Overall float64 + Soundtrack float64 + Story float64 + Visuals float64 + func (rating *AnimeListItemRating) Clamp() + func (rating *AnimeListItemRating) IsNotRated() bool + func (rating *AnimeListItemRating) Reset() + type AnimePopularity struct + Completed int + Dropped int + Hold int + Planned int + Watching int + func (p *AnimePopularity) Total() int + type AnimeRating struct + Count AnimeRatingCount + type AnimeRatingCount struct + Overall int + Soundtrack int + Story int + Visuals int + type AnimeRelation struct + AnimeID string + Type string + func (relation *AnimeRelation) Anime() *Anime + func (relation *AnimeRelation) HumanReadableType() string + type AnimeRelations struct + AnimeID string + Items []*AnimeRelation + func GetAnimeRelations(animeID string) (*AnimeRelations, error) + func (relations *AnimeRelations) Anime() *Anime + func (relations *AnimeRelations) Authorize(ctx aero.Context, action string) error + func (relations *AnimeRelations) Delete() error + func (relations *AnimeRelations) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (consumed bool, err error) + func (relations *AnimeRelations) Find(animeID string) *AnimeRelation + func (relations *AnimeRelations) GetID() string + func (relations *AnimeRelations) Link() string + func (relations *AnimeRelations) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (relations *AnimeRelations) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (relations *AnimeRelations) Remove(animeID string) bool + func (relations *AnimeRelations) Save() + func (relations *AnimeRelations) Self() Loggable + func (relations *AnimeRelations) SortByStartDate() + func (relations *AnimeRelations) String() string + func (relations *AnimeRelations) TypeName() string + type AnimeTitle struct + Canonical string + English string + Hiragana string + Japanese string + Romaji string + Synonyms []string + func (title *AnimeTitle) ByUser(user *User) string + type AvatarSettings struct + Source string + SourceURL string + type CSSPosition struct + X string + Y string + type CalendarSettings struct + ShowAddedAnimeOnly bool + type Character struct + Attributes []*CharacterAttribute + Description string + Image CharacterImage + MainQuoteID string + Name CharacterName + Spoilers []Spoiler + func AllCharacters() []*Character + func FilterCharacters(filter func(*Character) bool) []*Character + func GetCharacter(id string) (*Character, error) + func NewCharacter() *Character + func (character *Character) Anime() []*Anime + func (character *Character) Authorize(ctx aero.Context, action string) error + func (character *Character) AverageColor() string + func (character *Character) Create(ctx aero.Context) error + func (character *Character) Delete() error + func (character *Character) DeleteImages() + func (character *Character) DeleteInContext(ctx aero.Context) error + func (character *Character) DownloadImage(url string) error + func (character *Character) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (consumed bool, err error) + func (character *Character) HasImage() bool + func (character *Character) ImageLink(size string) string + func (character *Character) Link() string + func (character *Character) MainQuote() *Quote + func (character *Character) Merge(target *Character) + func (character *Character) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (character *Character) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (character *Character) Publish() error + func (character *Character) Quotes() []*Quote + func (character *Character) Save() + func (character *Character) Self() Loggable + func (character *Character) SetImage(metaImage *imageserver.MetaImage) error + func (character *Character) SetImageBytes(data []byte) error + func (character *Character) String() string + func (character *Character) TitleByUser(user *User) string + func (character *Character) TypeName() string + func (character *Character) Unpublish() error + func (obj *Character) AddPost(postID string) + func (obj *Character) CountLikes() int + func (obj *Character) CountPosts() int + func (obj *Character) Creator() *User + func (obj *Character) CreatorID() UserID + func (obj *Character) Editor() *User + func (obj *Character) GetCreated() string + func (obj *Character) GetCreatedBy() UserID + func (obj *Character) GetCreatedTime() time.Time + func (obj *Character) GetID() string + func (obj *Character) GetIsDraft() bool + func (obj *Character) GetMapping(name string) string + func (obj *Character) Like(userID UserID) + func (obj *Character) LikedBy(userID UserID) bool + func (obj *Character) Posts() []*Post + func (obj *Character) PostsRelevantFirst(count int) []*Post + func (obj *Character) RemoveMapping(name string) bool + func (obj *Character) RemovePost(postID string) bool + func (obj *Character) SetIsDraft(isDraft bool) + func (obj *Character) SetMapping(serviceName string, serviceID string) + func (obj *Character) Unlike(userID UserID) + type CharacterAttribute struct + Name string + Value string + type CharacterFinder struct + func NewCharacterFinder(mappingName string) *CharacterFinder + func (finder *CharacterFinder) Add(character *Character) + func (finder *CharacterFinder) GetCharacter(id string) *Character + type CharacterImage AnimeImage + type CharacterName struct + Canonical string + English string + Japanese string + Synonyms []string + func (name *CharacterName) ByUser(user *User) string + type ClientErrorReport struct + ColumnNumber int + FileName string + ID string + LineNumber int + Message string + Stack string + func AllClientErrorReports() []*ClientErrorReport + func (obj *ClientErrorReport) Creator() *User + func (obj *ClientErrorReport) CreatorID() UserID + func (obj *ClientErrorReport) GetCreated() string + func (obj *ClientErrorReport) GetCreatedBy() UserID + func (obj *ClientErrorReport) GetCreatedTime() time.Time + func (report *ClientErrorReport) Authorize(ctx aero.Context, action string) error + func (report *ClientErrorReport) Create(ctx aero.Context) error + func (report *ClientErrorReport) Save() + type Company struct + Description string + Email string + Links []*Link + Location *Location + Name CompanyName + Tags []string + func AllCompanies() []*Company + func FilterCompanies(filter func(*Company) bool) []*Company + func GetCompany(id string) (*Company, error) + func NewCompany() *Company + func (company *Company) Anime() (studioAnime []*Anime, producedAnime []*Anime, licensedAnime []*Anime) + func (company *Company) Authorize(ctx aero.Context, action string) error + func (company *Company) Create(ctx aero.Context) error + func (company *Company) Delete() error + func (company *Company) DeleteInContext(ctx aero.Context) error + func (company *Company) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (consumed bool, err error) + func (company *Company) Link() string + func (company *Company) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (company *Company) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (company *Company) Publish() error + func (company *Company) Save() + func (company *Company) Self() Loggable + func (company *Company) String() string + func (company *Company) TypeName() string + func (company *Company) Unpublish() error + func (obj *Company) CountLikes() int + func (obj *Company) Creator() *User + func (obj *Company) CreatorID() UserID + func (obj *Company) Editor() *User + func (obj *Company) GetCreated() string + func (obj *Company) GetCreatedBy() UserID + func (obj *Company) GetCreatedTime() time.Time + func (obj *Company) GetID() string + func (obj *Company) GetIsDraft() bool + func (obj *Company) GetMapping(name string) string + func (obj *Company) Like(userID UserID) + func (obj *Company) LikedBy(userID UserID) bool + func (obj *Company) RemoveMapping(name string) bool + func (obj *Company) SetIsDraft(isDraft bool) + func (obj *Company) SetMapping(serviceName string, serviceID string) + func (obj *Company) Unlike(userID UserID) + type CompanyName struct + English string + Japanese string + Synonyms []string + type ConnectionAnalytics struct + DownLink float64 + EffectiveType string + RoundTripTime float64 + type DraftIndex struct + AMVID string + AnimeID string + CharacterID string + CompanyID string + GroupID string + QuoteID string + SoundTrackID string + UserID string + func GetDraftIndex(id string) (*DraftIndex, error) + func NewDraftIndex(userID UserID) *DraftIndex + func (index *DraftIndex) GetID(typeName string) (string, error) + func (index *DraftIndex) Save() + func (index *DraftIndex) SetID(typeName string, id string) error + type Draftable interface + GetIsDraft func() bool + SetIsDraft func(bool) + type EditLogEntry struct + Action string + Created string + ID string + Key string + NewValue string + ObjectID string + ObjectType string + OldValue string + UserID string + func AllEditLogEntries() []*EditLogEntry + func FilterEditLogEntries(filter func(*EditLogEntry) bool) []*EditLogEntry + func NewEditLogEntry(userID, action, objectType, objectID, key, oldValue, newValue string) *EditLogEntry + func (entry *EditLogEntry) ActionHumanReadable() string + func (entry *EditLogEntry) EditorScore() int + func (entry *EditLogEntry) Object() interface{} + func (entry *EditLogEntry) Save() + func (entry *EditLogEntry) User() *User + type EditorFilterSettings struct + Season string + Status string + Type string + Year string + func (filter *EditorFilterSettings) Suffix() string + type EditorSettings struct + Filter EditorFilterSettings + type EmailToUser struct + Email string + UserID UserID + type EpisodeTitle struct + English string + Japanese string + Romaji string + type ExternalMedia struct + Service string + ServiceID string + func GetYoutubeMedia(url string) (*ExternalMedia, error) + func (media *ExternalMedia) Create(ctx aero.Context) error + func (media *ExternalMedia) EmbedLink() string + type FacebookToUser GoogleToUser + type FormatSettings struct + RatingsPrecision int + type GeneralAnalytics struct + TimezoneOffset int + type GoogleToUser struct + ID string + UserID UserID + type Group struct + Description string + Image GroupImage + Members []*GroupMember + Name string + Neighbors []string + Restricted bool + Rules string + Tagline string + Tags []string + func AllGroups() []*Group + func FilterGroups(filter func(*Group) bool) []*Group + func GetGroup(id string) (*Group, error) + func (group *Group) Authorize(ctx aero.Context, action string) error + func (group *Group) AverageColor() string + func (group *Group) Create(ctx aero.Context) error + func (group *Group) Delete() error + func (group *Group) DeleteImages() + func (group *Group) DeleteInContext(ctx aero.Context) error + func (group *Group) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (consumed bool, err error) + func (group *Group) FindMember(userID UserID) *GroupMember + func (group *Group) HasImage() bool + func (group *Group) HasMember(userID UserID) bool + func (group *Group) ImageLink(size string) string + func (group *Group) Join(user *User) error + func (group *Group) Leave(user *User) error + func (group *Group) Link() string + func (group *Group) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (group *Group) OnJoin(user *User) + func (group *Group) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (group *Group) Publish() error + func (group *Group) Save() + func (group *Group) Self() Loggable + func (group *Group) SendNotification(notification *PushNotification, excludeUserID UserID) + func (group *Group) SetImage(metaImage *imageserver.MetaImage) error + func (group *Group) SetImageBytes(data []byte) error + func (group *Group) String() string + func (group *Group) TitleByUser(user *User) string + func (group *Group) TypeName() string + func (group *Group) Unpublish() error + func (group *Group) Users() []*User + func (obj *Group) AddPost(postID string) + func (obj *Group) CountPosts() int + func (obj *Group) Creator() *User + func (obj *Group) CreatorID() UserID + func (obj *Group) Editor() *User + func (obj *Group) GetCreated() string + func (obj *Group) GetCreatedBy() UserID + func (obj *Group) GetCreatedTime() time.Time + func (obj *Group) GetID() string + func (obj *Group) GetIsDraft() bool + func (obj *Group) Posts() []*Post + func (obj *Group) PostsRelevantFirst(count int) []*Post + func (obj *Group) RemovePost(postID string) bool + func (obj *Group) SetIsDraft(isDraft bool) + type GroupImage AnimeImage + type GroupMember struct + Joined string + Role string + UserID UserID + func (member *GroupMember) User() *User + type HSLColor struct + Hue float64 + Lightness float64 + Saturation float64 + func GetAverageColor(img image.Image) HSLColor + func (color HSLColor) String() string + func (color HSLColor) StringWithAlpha(alpha float64) string + type IDCollection interface + Add func(id string) error + Remove func(id string) bool + Save func() + type IDList []string + func GetIDList(id string) (IDList, error) + func (idList IDList) Append(id string) IDList + type IPInfoDBLocation struct + CityName string + CountryCode string + CountryName string + Latitude string + Longitude string + RegionName string + TimeZone string + ZipCode string + type IgnoreAnimeDifference struct + ID string + ValueHash uint64 + func AllIgnoreAnimeDifferences() []*IgnoreAnimeDifference + func FilterIgnoreAnimeDifferences(filter func(*IgnoreAnimeDifference) bool) []*IgnoreAnimeDifference + func GetIgnoreAnimeDifference(id string) (*IgnoreAnimeDifference, error) + func (ignore *IgnoreAnimeDifference) Authorize(ctx aero.Context, action string) error + func (ignore *IgnoreAnimeDifference) Create(ctx aero.Context) error + func (ignore *IgnoreAnimeDifference) Save() + func (obj *IgnoreAnimeDifference) Creator() *User + func (obj *IgnoreAnimeDifference) CreatorID() UserID + func (obj *IgnoreAnimeDifference) GetCreated() string + func (obj *IgnoreAnimeDifference) GetCreatedBy() UserID + func (obj *IgnoreAnimeDifference) GetCreatedTime() time.Time + type Inventory struct + Slots []*InventorySlot + UserID UserID + func GetInventory(userID UserID) (*Inventory, error) + func NewInventory(userID UserID) *Inventory + func (inventory *Inventory) AddItem(itemID string, quantity uint) error + func (inventory *Inventory) Authorize(ctx aero.Context, action string) error + func (inventory *Inventory) ContainsItem(itemID string) bool + func (inventory *Inventory) Save() + func (inventory *Inventory) SwapSlots(a, b int) error + type InventorySlot struct + ItemID string + Quantity uint + func (slot *InventorySlot) Decrease(count uint) error + func (slot *InventorySlot) Increase(count uint) + func (slot *InventorySlot) IsEmpty() bool + func (slot *InventorySlot) Item() *ShopItem + type Joinable interface + Join func(*User) error + Leave func(*User) error + Save func() + type KitsuMatch struct + ARNAnime *Anime + KitsuItem *kitsu.LibraryEntry + func (match *KitsuMatch) JSON() string + type LikeEventReceiver interface + OnLike func(user *User) + type Likeable interface + CountLikes func() int + Like func(userID UserID) + LikedBy func(userID UserID) bool + Link func() string + Save func() + Unlike func(userID UserID) + type Link struct + Title string + URL string + type Linkable interface + Link func() string + type ListProviderConfig struct + UserName string + type Location struct + CityName string + CountryCode string + CountryName string + Latitude float64 + Longitude float64 + RegionName string + TimeZone string + ZipCode string + func (p *Location) Distance(p2 *Location) float64 + func (p *Location) IsValid() bool + type LockEventReceiver interface + OnLock func(user *User) + OnUnlock func(user *User) + type Lockable interface + IsLocked func() bool + Lock func(userID UserID) + Save func() + Unlock func(userID UserID) + type Loggable interface + GetID func() string + Self func() Loggable + TypeName func() string + type Mapping struct + Service string + ServiceID string + func (mapping *Mapping) Link() string + func (mapping *Mapping) Name() string + type MyAnimeListMatch struct + ARNAnime *Anime + MyAnimeListItem *mal.AnimeListItem + func (match *MyAnimeListMatch) JSON() string + type Name struct + First string + Last string + func (name Name) String() string + type NickToUser struct + Nick string + UserID UserID + type Notification struct + Created string + ID string + Seen string + UserID string + func AllNotifications() ([]*Notification, error) + func GetNotification(id string) (*Notification, error) + func NewNotification(userID UserID, pushNotification *PushNotification) *Notification + func (notification *Notification) CreatedTime() time.Time + func (notification *Notification) Save() + func (notification *Notification) String() string + func (notification *Notification) User() *User + type NotificationSettings struct + AnimeEpisodeReleases bool + AnimeFinished bool + Email string + ForumLikes bool + GroupPostLikes bool + NewFollowers bool + QuoteLikes bool + SoundTrackLikes bool + func DefaultNotificationSettings() NotificationSettings + type OpenGraph struct + Meta map[string]string + Tags map[string]string + type Option struct + Label string + Value string + type PayPalPayment struct + Amount string + Created string + Currency string + ID string + Method string + PayerID string + UserID string + func AllPayPalPayments() ([]*PayPalPayment, error) + func FilterPayPalPayments(filter func(*PayPalPayment) bool) ([]*PayPalPayment, error) + func (payment *PayPalPayment) Gems() int + func (payment *PayPalPayment) Save() + func (payment *PayPalPayment) User() *User + type Person struct + Image PersonImage + Name PersonName + func AllPersons() []*Person + func FilterPersons(filter func(*Person) bool) []*Person + func GetPerson(id string) (*Person, error) + func NewPerson() *Person + func (obj *Person) AddPost(postID string) + func (obj *Person) CountLikes() int + func (obj *Person) CountPosts() int + func (obj *Person) Creator() *User + func (obj *Person) CreatorID() UserID + func (obj *Person) Editor() *User + func (obj *Person) GetCreated() string + func (obj *Person) GetCreatedBy() UserID + func (obj *Person) GetCreatedTime() time.Time + func (obj *Person) GetID() string + func (obj *Person) GetIsDraft() bool + func (obj *Person) Like(userID UserID) + func (obj *Person) LikedBy(userID UserID) bool + func (obj *Person) Posts() []*Post + func (obj *Person) PostsRelevantFirst(count int) []*Post + func (obj *Person) RemovePost(postID string) bool + func (obj *Person) SetIsDraft(isDraft bool) + func (obj *Person) Unlike(userID UserID) + func (person *Person) Authorize(ctx aero.Context, action string) error + func (person *Person) Create(ctx aero.Context) error + func (person *Person) Delete() error + func (person *Person) DeleteImages() + func (person *Person) DeleteInContext(ctx aero.Context) error + func (person *Person) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (consumed bool, err error) + func (person *Person) HasImage() bool + func (person *Person) ImageLink(size string) string + func (person *Person) Link() string + func (person *Person) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (person *Person) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (person *Person) Publish() error + func (person *Person) Save() + func (person *Person) Self() Loggable + func (person *Person) String() string + func (person *Person) TitleByUser(user *User) string + func (person *Person) TypeName() string + func (person *Person) Unpublish() error + type PersonImage CharacterImage + type PersonName struct + English Name + Japanese Name + func (name *PersonName) ByUser(user *User) string + func (name *PersonName) String() string + type PieChart struct + Slices []*PieChartSlice + Title string + func NewPieChart(title string, data map[string]float64) *PieChart + type PieChartSlice struct + Color string + From float64 + Title string + To float64 + func ToPieChartSlices(data map[string]float64) []*PieChartSlice + type Post struct + Edited string + ParentID string + ParentType string + Tags []string + func AllPosts() []*Post + func FilterPosts(filter func(*Post) bool) ([]*Post, error) + func FilterPostsWithUniqueThreads(posts []*Post, limit int) []*Post + func GetPost(id string) (*Post, error) + func GetPostsByUser(user *User) ([]*Post, error) + func (obj *Post) AddPost(postID string) + func (obj *Post) CountLikes() int + func (obj *Post) CountPosts() int + func (obj *Post) Creator() *User + func (obj *Post) CreatorID() UserID + func (obj *Post) GetCreated() string + func (obj *Post) GetCreatedBy() UserID + func (obj *Post) GetCreatedTime() time.Time + func (obj *Post) GetID() string + func (obj *Post) GetText() string + func (obj *Post) Like(userID UserID) + func (obj *Post) LikedBy(userID UserID) bool + func (obj *Post) Posts() []*Post + func (obj *Post) PostsRelevantFirst(count int) []*Post + func (obj *Post) RemovePost(postID string) bool + func (obj *Post) Unlike(userID UserID) + func (post *Post) AfterEdit(ctx aero.Context) error + func (post *Post) Authorize(ctx aero.Context, action string) error + func (post *Post) Create(ctx aero.Context) error + func (post *Post) Delete() error + func (post *Post) DeleteInContext(ctx aero.Context) error + func (post *Post) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (bool, error) + func (post *Post) GetParentID() string + func (post *Post) HTML() string + func (post *Post) Link() string + func (post *Post) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (post *Post) OnLike(likedBy *User) + func (post *Post) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (post *Post) Parent() PostParent + func (post *Post) Save() + func (post *Post) Self() Loggable + func (post *Post) SetParent(newParent PostParent) + func (post *Post) String() string + func (post *Post) TitleByUser(user *User) string + func (post *Post) TopMostParent() PostParent + func (post *Post) TypeName() string + type PostParent interface + AddPost func(string) + CountPosts func() int + Creator func() *User + CreatorID func() UserID + GetID func() string + Posts func() []*Post + PostsRelevantFirst func(count int) []*Post + RemovePost func(string) bool + TitleByUser func(*User) string + TypeName func() string + type Postable interface + CountPosts func() int + Creator func() *User + GetCreated func() string + GetID func() string + GetParentID func() string + GetText func() string + HTML func() string + Parent func() PostParent + Posts func() []*Post + TitleByUser func(*User) string + TypeName func() string + func ToPostables(sliceOfPosts interface{}) []Postable + type PrivacySettings struct + ShowAge bool + ShowGender bool + ShowLocation bool + type Publishable interface + GetCreatedBy func() string + GetID func() string + GetIsDraft func() bool + Publish func() error + Save func() + SetIsDraft func(bool) + Unpublish func() error + type Purchase struct + Currency string + Date string + ID string + ItemID string + Price int + Quantity int + UserID string + func AllPurchases() ([]*Purchase, error) + func FilterPurchases(filter func(*Purchase) bool) ([]*Purchase, error) + func NewPurchase(userID UserID, itemID string, quantity int, price int, currency string) *Purchase + func (purchase *Purchase) Item() *ShopItem + func (purchase *Purchase) Save() + func (purchase *Purchase) User() *User + type PushEndpoint struct + Keys struct{ ... } + Registered string + type PushNotification struct + Icon string + Link string + Message string + Title string + Type string + type PushSubscription struct + Auth string + Created string + Endpoint string + LastSuccess string + P256DH string + Platform string + Screen struct{ ... } + UserAgent string + func (sub *PushSubscription) ID() string + func (sub *PushSubscription) SendNotification(notification *PushNotification) (*http.Response, error) + type PushSubscriptions struct + Items []*PushSubscription + UserID UserID + func GetPushSubscriptions(id string) (*PushSubscriptions, error) + func (list *PushSubscriptions) Add(subscription *PushSubscription) error + func (list *PushSubscriptions) Authorize(ctx aero.Context, action string) error + func (list *PushSubscriptions) Contains(subscriptionID string) bool + func (list *PushSubscriptions) Filter() + func (list *PushSubscriptions) Find(id string) *PushSubscription + func (list *PushSubscriptions) Remove(subscriptionID string) bool + func (list *PushSubscriptions) Save() + func (list *PushSubscriptions) ShouldFilter(ctx aero.Context) bool + type Quote struct + AnimeID string + CharacterID string + EpisodeNumber int + Text QuoteText + Time int + func AllQuotes() []*Quote + func FilterQuotes(filter func(*Quote) bool) []*Quote + func GetQuote(id string) (*Quote, error) + func (obj *Quote) AddPost(postID string) + func (obj *Quote) CountLikes() int + func (obj *Quote) CountPosts() int + func (obj *Quote) Creator() *User + func (obj *Quote) CreatorID() UserID + func (obj *Quote) Editor() *User + func (obj *Quote) GetCreated() string + func (obj *Quote) GetCreatedBy() UserID + func (obj *Quote) GetCreatedTime() time.Time + func (obj *Quote) GetID() string + func (obj *Quote) GetIsDraft() bool + func (obj *Quote) Like(userID UserID) + func (obj *Quote) LikedBy(userID UserID) bool + func (obj *Quote) Posts() []*Post + func (obj *Quote) PostsRelevantFirst(count int) []*Post + func (obj *Quote) RemovePost(postID string) bool + func (obj *Quote) SetIsDraft(isDraft bool) + func (obj *Quote) Unlike(userID UserID) + func (quote *Quote) Anime() *Anime + func (quote *Quote) Authorize(ctx aero.Context, action string) error + func (quote *Quote) Character() *Character + func (quote *Quote) Create(ctx aero.Context) error + func (quote *Quote) Delete() error + func (quote *Quote) DeleteInContext(ctx aero.Context) error + func (quote *Quote) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (bool, error) + func (quote *Quote) IsMainQuote() bool + func (quote *Quote) IsValid() bool + func (quote *Quote) Link() string + func (quote *Quote) OnLike(likedBy *User) + func (quote *Quote) Publish() error + func (quote *Quote) Save() + func (quote *Quote) Self() Loggable + func (quote *Quote) String() string + func (quote *Quote) TitleByUser(user *User) string + func (quote *Quote) TypeName() string + func (quote *Quote) Unpublish() error + type QuoteText struct + English string + Japanese string + type ScreenAnalytics struct + AvailableHeight int + AvailableWidth int + Height int + PixelRatio float64 + Width int + type ServiceProviders struct + Anime string + type Session map[string]interface + type Settings struct + Avatar AvatarSettings + Calendar CalendarSettings + Editor EditorSettings + Format FormatSettings + Notification NotificationSettings + Privacy PrivacySettings + Providers ServiceProviders + SortBy string + Theme string + TitleLanguage string + UserID string + func GetSettings(userID UserID) (*Settings, error) + func NewSettings(user *User) *Settings + func (settings *Settings) Authorize(ctx aero.Context, action string) error + func (settings *Settings) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (bool, error) + func (settings *Settings) Filter() + func (settings *Settings) Save() + func (settings *Settings) ShouldFilter(ctx aero.Context) bool + func (settings *Settings) User() *User + type ShopItem struct + Consumable bool + Description string + ID string + Icon string + Name string + Order int + Price uint + Rarity string + func AllShopItems() ([]*ShopItem, error) + func GetShopItem(id string) (*ShopItem, error) + func (item *ShopItem) Save() + type SoundTrack struct + File string + Links []*Link + Lyrics SoundTrackLyrics + Media []*ExternalMedia + Tags []string + Title SoundTrackTitle + func AllSoundTracks() []*SoundTrack + func FilterSoundTracks(filter func(*SoundTrack) bool) []*SoundTrack + func GetSoundTrack(id string) (*SoundTrack, error) + func (obj *SoundTrack) AddPost(postID string) + func (obj *SoundTrack) CountLikes() int + func (obj *SoundTrack) CountPosts() int + func (obj *SoundTrack) Creator() *User + func (obj *SoundTrack) CreatorID() UserID + func (obj *SoundTrack) Editor() *User + func (obj *SoundTrack) GetCreated() string + func (obj *SoundTrack) GetCreatedBy() UserID + func (obj *SoundTrack) GetCreatedTime() time.Time + func (obj *SoundTrack) GetID() string + func (obj *SoundTrack) GetIsDraft() bool + func (obj *SoundTrack) Like(userID UserID) + func (obj *SoundTrack) LikedBy(userID UserID) bool + func (obj *SoundTrack) Posts() []*Post + func (obj *SoundTrack) PostsRelevantFirst(count int) []*Post + func (obj *SoundTrack) RemovePost(postID string) bool + func (obj *SoundTrack) SetIsDraft(isDraft bool) + func (obj *SoundTrack) Unlike(userID UserID) + func (track *SoundTrack) Anime() []*Anime + func (track *SoundTrack) Authorize(ctx aero.Context, action string) error + func (track *SoundTrack) Create(ctx aero.Context) error + func (track *SoundTrack) Delete() error + func (track *SoundTrack) DeleteInContext(ctx aero.Context) error + func (track *SoundTrack) Download() error + func (track *SoundTrack) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (bool, error) + func (track *SoundTrack) EditedByUser() *User + func (track *SoundTrack) EtternaBeatmaps() []string + func (track *SoundTrack) HasLyrics() bool + func (track *SoundTrack) HasMediaByService(service string) bool + func (track *SoundTrack) HasTag(search string) bool + func (track *SoundTrack) Link() string + func (track *SoundTrack) MainAnime() *Anime + func (track *SoundTrack) MediaByService(service string) []*ExternalMedia + func (track *SoundTrack) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (track *SoundTrack) OnLike(likedBy *User) + func (track *SoundTrack) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (track *SoundTrack) OsuBeatmaps() []string + func (track *SoundTrack) Publish() error + func (track *SoundTrack) Save() + func (track *SoundTrack) Self() Loggable + func (track *SoundTrack) String() string + func (track *SoundTrack) TitleByUser(user *User) string + func (track *SoundTrack) TypeName() string + func (track *SoundTrack) Unpublish() error + type SoundTrackLyrics struct + Native string + Romaji string + type SoundTrackTitle struct + Canonical string + Native string + func (title *SoundTrackTitle) ByUser(user *User) string + func (title *SoundTrackTitle) String() string + type Spoiler struct + Text string + func (spoiler *Spoiler) String() string + type StatisticsCategory struct + Name string + PieCharts []*PieChart + type SystemAnalytics struct + CPUCount int + Platform string + type Thread struct + Edited string + Sticky int + Tags []string + Title string + func AllThreads() []*Thread + func GetThread(id string) (*Thread, error) + func GetThreadsByTag(tag string) []*Thread + func GetThreadsByUser(user *User) []*Thread + func (obj *Thread) AddPost(postID string) + func (obj *Thread) CountLikes() int + func (obj *Thread) CountPosts() int + func (obj *Thread) Creator() *User + func (obj *Thread) CreatorID() UserID + func (obj *Thread) GetCreated() string + func (obj *Thread) GetCreatedBy() UserID + func (obj *Thread) GetCreatedTime() time.Time + func (obj *Thread) GetID() string + func (obj *Thread) GetText() string + func (obj *Thread) IsLocked() bool + func (obj *Thread) Like(userID UserID) + func (obj *Thread) LikedBy(userID UserID) bool + func (obj *Thread) Lock(userID UserID) + func (obj *Thread) Posts() []*Post + func (obj *Thread) PostsRelevantFirst(count int) []*Post + func (obj *Thread) RemovePost(postID string) bool + func (obj *Thread) Unlike(userID UserID) + func (obj *Thread) Unlock(userID UserID) + func (thread *Thread) AfterEdit(ctx aero.Context) error + func (thread *Thread) Authorize(ctx aero.Context, action string) error + func (thread *Thread) Create(ctx aero.Context) error + func (thread *Thread) Delete() error + func (thread *Thread) DeleteInContext(ctx aero.Context) error + func (thread *Thread) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (consumed bool, err error) + func (thread *Thread) GetParentID() string + func (thread *Thread) HTML() string + func (thread *Thread) Link() string + func (thread *Thread) OnAppend(ctx aero.Context, key string, index int, obj interface{}) + func (thread *Thread) OnLike(likedBy *User) + func (thread *Thread) OnLock(user *User) + func (thread *Thread) OnRemove(ctx aero.Context, key string, index int, obj interface{}) + func (thread *Thread) OnUnlock(user *User) + func (thread *Thread) Parent() PostParent + func (thread *Thread) Save() + func (thread *Thread) Self() Loggable + func (thread *Thread) String() string + func (thread *Thread) TitleByUser(user *User) string + func (thread *Thread) TypeName() string + type TwitterToUser GoogleToUser + type UpcomingEpisode struct + Anime *Anime + Episode *AnimeEpisode + type User struct + Accounts UserAccounts + Avatar UserAvatar + Balance int + BirthDay string + Browser UserBrowser + Cover UserCover + Email string + FirstName string + Gender string + ID UserID + IP string + Introduction string + Language string + LastLogin string + LastName string + LastSeen string + Location *Location + Nick string + OS UserOS + ProExpires string + Registered string + Role string + UserAgent string + Website string + func AllUsers() ([]*User, error) + func FilterUsers(filter func(*User) bool) []*User + func GetUser(id UserID) (*User, error) + func GetUserByEmail(email string) (*User, error) + func GetUserByFacebookID(facebookID string) (*User, error) + func GetUserByGoogleID(googleID string) (*User, error) + func GetUserByNick(nick string) (*User, error) + func GetUserByTwitterID(twitterID string) (*User, error) + func GetUserFromContext(ctx aero.Context) *User + func NewUser() *User + func (obj *User) AddPost(postID string) + func (obj *User) CountPosts() int + func (obj *User) Posts() []*Post + func (obj *User) PostsRelevantFirst(count int) []*Post + func (obj *User) RemovePost(postID string) bool + func (user *User) ActivateItemEffect(itemID string) error + func (user *User) AddEventStream(stream *aero.EventStream) + func (user *User) AgeInYears() int + func (user *User) Analytics() *Analytics + func (user *User) AnimeList() *AnimeList + func (user *User) Authorize(ctx aero.Context, action string) error + func (user *User) AvatarLink(size string) string + func (user *User) BroadcastEvent(event *aero.Event) + func (user *User) CleanNick() string + func (user *User) ConnectFacebook(facebookID string) + func (user *User) ConnectGoogle(googleID string) + func (user *User) ConnectTwitter(twtterID string) + func (user *User) CoverLink(size string) string + func (user *User) Creator() *User + func (user *User) CreatorID() UserID + func (user *User) DraftIndex() *DraftIndex + func (user *User) Edit(ctx aero.Context, key string, value reflect.Value, newValue reflect.Value) (bool, error) + func (user *User) EditorScore() int + func (user *User) ExtendProDuration(duration time.Duration) + func (user *User) Filter() + func (user *User) Followers() []*User + func (user *User) FollowersCount() int + func (user *User) Follows() *UserFollows + func (user *User) ForceSetNick(newName string) + func (user *User) GetID() string + func (user *User) Gravatar() string + func (user *User) HasAvatar() bool + func (user *User) HasBasicInfo() bool + func (user *User) HasNick() bool + func (user *User) Inventory() *Inventory + func (user *User) IsActive() bool + func (user *User) IsPro() bool + func (user *User) LastActivityConsumeAnime(animeID string) *ActivityConsumeAnime + func (user *User) LastSeenTime() time.Time + func (user *User) Link() string + func (user *User) Notifications() *UserNotifications + func (user *User) PushSubscriptions() *PushSubscriptions + func (user *User) RealName() string + func (user *User) RefreshFFXIVInfo() error + func (user *User) RefreshOsuInfo() error + func (user *User) RefreshOverwatchInfo() error + func (user *User) RegisteredTime() time.Time + func (user *User) RemoveEventStream(stream *aero.EventStream) bool + func (user *User) Save() + func (user *User) Self() Loggable + func (user *User) SendNotification(pushNotification *PushNotification) + func (user *User) SetAvatar(avatar *imageserver.MetaImage) error + func (user *User) SetAvatarBytes(data []byte) error + func (user *User) SetCover(cover *imageserver.MetaImage) error + func (user *User) SetCoverBytes(data []byte) error + func (user *User) SetEmail(newEmail string) error + func (user *User) SetNick(newName string) error + func (user *User) Settings() *Settings + func (user *User) ShouldFilter(ctx aero.Context) bool + func (user *User) SoundTracks() []*SoundTrack + func (user *User) Threads() []*Thread + func (user *User) TimeSinceRegistered() time.Duration + func (user *User) TitleByUser(viewUser *User) string + func (user *User) TypeName() string + func (user *User) WebsiteShortURL() string + func (user *User) WebsiteURL() string + type UserAccounts struct + AniList struct{ ... } + AnimePlanet struct{ ... } + Discord struct{ ... } + Facebook struct{ ... } + FinalFantasyXIV struct{ ... } + Google struct{ ... } + Kitsu struct{ ... } + MyAnimeList struct{ ... } + Osu struct{ ... } + Overwatch struct{ ... } + Twitter struct{ ... } + type UserAvatar struct + Extension string + LastModified int64 + Source string + type UserBrowser struct + IsMobile bool + Name string + Version string + type UserCover struct + Extension string + LastModified int64 + type UserFollows struct + Items []string + UserID UserID + func AllUserFollows() ([]*UserFollows, error) + func GetUserFollows(id UserID) (*UserFollows, error) + func NewUserFollows(userID UserID) *UserFollows + func (list *UserFollows) Add(userID UserID) error + func (list *UserFollows) Authorize(ctx aero.Context, action string) error + func (list *UserFollows) Contains(userID UserID) bool + func (list *UserFollows) Remove(userID UserID) bool + func (list *UserFollows) Save() + func (list *UserFollows) Users() []*User + func (list *UserFollows) UsersWhoFollowBack() []*User + type UserID = string + type UserListProviders struct + AniList ListProviderConfig + AnimePlanet ListProviderConfig + HummingBird ListProviderConfig + MyAnimeList ListProviderConfig + type UserNotifications struct + Items []string + UserID UserID + func AllUserNotifications() ([]*UserNotifications, error) + func GetUserNotifications(id UserID) (*UserNotifications, error) + func NewUserNotifications(userID UserID) *UserNotifications + func (list *UserNotifications) Add(notificationID string) error + func (list *UserNotifications) Contains(notificationID string) bool + func (list *UserNotifications) CountUnseen() int + func (list *UserNotifications) Notifications() []*Notification + func (list *UserNotifications) Remove(notificationID string) bool + func (list *UserNotifications) Save() + type UserOS struct + Name string + Version string