Documentation ¶
Index ¶
- type API
- func (_m *API) GetAnime(id int) (*model.Anime, int, error)
- func (_m *API) GetAnimeArticle(id int) ([]model.ArticleItem, int, error)
- func (_m *API) GetAnimeCharacter(id int) ([]model.CharacterItem, int, error)
- func (_m *API) GetAnimeClub(id int) ([]model.ClubItem, int, error)
- func (_m *API) GetAnimeEpisode(id int, page int) ([]model.Episode, int, error)
- func (_m *API) GetAnimeMoreInfo(id int) (string, int, error)
- func (_m *API) GetAnimeNews(id int) ([]model.NewsItem, int, error)
- func (_m *API) GetAnimePicture(id int) ([]string, int, error)
- func (_m *API) GetAnimeRecommendation(id int) ([]model.Recommendation, int, error)
- func (_m *API) GetAnimeReview(id int, page int) ([]model.Review, int, error)
- func (_m *API) GetAnimeStaff(id int) ([]model.Role, int, error)
- func (_m *API) GetAnimeStats(id int) (*model.Stats, int, error)
- func (_m *API) GetAnimeVideo(id int, page int) (*model.Video, int, error)
- func (_m *API) GetAnimeWithGenre(id int, page int) ([]model.AnimeItem, int, error)
- func (_m *API) GetArticle(id int) (*model.Article, int, error)
- func (_m *API) GetArticleTag() ([]model.ArticleTagItem, int, error)
- func (_m *API) GetArticles(page int, tag string) ([]model.ArticleItem, int, error)
- func (_m *API) GetCharacter(id int) (*model.Character, int, error)
- func (_m *API) GetCharacterArticle(id int) ([]model.ArticleItem, int, error)
- func (_m *API) GetCharacterClub(id int) ([]model.ClubItem, int, error)
- func (_m *API) GetCharacterOgraphy(_type string, id int) ([]model.Role, int, error)
- func (_m *API) GetCharacterPicture(id int) ([]string, int, error)
- func (_m *API) GetCharacterVA(id int) ([]model.Role, int, error)
- func (_m *API) GetClub(id int) (*model.Club, int, error)
- func (_m *API) GetClubMember(id int, page int) ([]model.ClubMember, int, error)
- func (_m *API) GetClubPicture(id int) ([]string, int, error)
- func (_m *API) GetClubRelated(id int) (*model.ClubRelated, int, error)
- func (_m *API) GetClubs(page int) ([]model.ClubSearch, int, error)
- func (_m *API) GetGenres(_type string) ([]model.ItemCount, int, error)
- func (_m *API) GetMagazine(id int, page int) ([]model.MangaItem, int, error)
- func (_m *API) GetMagazines() ([]model.ItemCount, int, error)
- func (_m *API) GetManga(id int) (*model.Manga, int, error)
- func (_m *API) GetMangaArticle(id int) ([]model.ArticleItem, int, error)
- func (_m *API) GetMangaCharacter(id int) ([]model.Role, int, error)
- func (_m *API) GetMangaClub(id int) ([]model.ClubItem, int, error)
- func (_m *API) GetMangaMoreInfo(id int) (string, int, error)
- func (_m *API) GetMangaNews(id int) ([]model.NewsItem, int, error)
- func (_m *API) GetMangaPicture(id int) ([]string, int, error)
- func (_m *API) GetMangaRecommendation(id int) ([]model.Recommendation, int, error)
- func (_m *API) GetMangaReview(id int, page int) ([]model.Review, int, error)
- func (_m *API) GetMangaStats(id int) (*model.Stats, int, error)
- func (_m *API) GetMangaWithGenre(id int, page int) ([]model.MangaItem, int, error)
- func (_m *API) GetNews(id int) (*model.News, int, error)
- func (_m *API) GetNewsList(page int, tag string) ([]model.NewsItem, int, error)
- func (_m *API) GetNewsTag() (*model.NewsTag, int, error)
- func (_m *API) GetPeople(id int) (*model.People, int, error)
- func (_m *API) GetPeopleArticle(id int) ([]model.ArticleItem, int, error)
- func (_m *API) GetPeopleCharacter(id int) ([]model.PeopleCharacter, int, error)
- func (_m *API) GetPeopleManga(id int) ([]model.Role, int, error)
- func (_m *API) GetPeopleNews(id int) ([]model.NewsItem, int, error)
- func (_m *API) GetPeoplePicture(id int) ([]string, int, error)
- func (_m *API) GetPeopleStaff(id int) ([]model.Role, int, error)
- func (_m *API) GetProducer(id int, page int) ([]model.AnimeItem, int, error)
- func (_m *API) GetProducers() ([]model.ItemCount, int, error)
- func (_m *API) GetRecommendation(_type string, id1 int, id2 int) (*model.Recommendation, int, error)
- func (_m *API) GetRecommendations(_type string, page int) ([]model.Recommendation, int, error)
- func (_m *API) GetReview(id int) (*model.Review, int, error)
- func (_m *API) GetReviews(_type string, page int) ([]model.Review, int, error)
- func (_m *API) GetSeason(season string, year int) ([]model.AnimeItem, int, error)
- func (_m *API) GetTopAnime(_type int, page int) ([]model.TopAnime, int, error)
- func (_m *API) GetTopCharacter(page int) ([]model.TopCharacter, int, error)
- func (_m *API) GetTopManga(_type int, page int) ([]model.TopManga, int, error)
- func (_m *API) GetTopPeople(page int) ([]model.TopPeople, int, error)
- func (_m *API) GetUser(username string) (*model.User, int, error)
- func (_m *API) GetUserAnime(query model.UserListQuery) ([]model.UserAnime, int, error)
- func (_m *API) GetUserClub(username string) ([]model.Item, int, error)
- func (_m *API) GetUserFavorite(username string) (*model.UserFavorite, int, error)
- func (_m *API) GetUserFriend(username string, page int) ([]model.UserFriend, int, error)
- func (_m *API) GetUserHistory(username string, _type string) ([]model.UserHistory, int, error)
- func (_m *API) GetUserManga(query model.UserListQuery) ([]model.UserManga, int, error)
- func (_m *API) GetUserRecommendation(username string, page int) ([]model.Recommendation, int, error)
- func (_m *API) GetUserReview(username string, page int) ([]model.Review, int, error)
- func (_m *API) GetUserStats(username string) (*model.UserStats, int, error)
- func (_m *API) SearchAnime(query model.Query) ([]model.AnimeSearch, int, error)
- func (_m *API) SearchCharacter(query string, page int) ([]model.CharacterSearch, int, error)
- func (_m *API) SearchClub(query model.ClubQuery) ([]model.ClubSearch, int, error)
- func (_m *API) SearchManga(query model.Query) ([]model.MangaSearch, int, error)
- func (_m *API) SearchPeople(query string, page int) ([]model.PeopleSearch, int, error)
- func (_m *API) SearchUser(query model.UserQuery) ([]model.UserSearch, int, error)
- type Cacher
- type Logger
- func (_m *Logger) Debug(format string, args ...interface{})
- func (_m *Logger) Error(format string, args ...interface{})
- func (_m *Logger) Fatal(format string, args ...interface{})
- func (_m *Logger) Info(format string, args ...interface{})
- func (_m *Logger) Trace(format string, args ...interface{})
- func (_m *Logger) Warn(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is an autogenerated mock type for the API type
func (*API) GetAnimeArticle ¶
GetAnimeArticle provides a mock function with given fields: id
func (*API) GetAnimeCharacter ¶
GetAnimeCharacter provides a mock function with given fields: id
func (*API) GetAnimeClub ¶
GetAnimeClub provides a mock function with given fields: id
func (*API) GetAnimeEpisode ¶
GetAnimeEpisode provides a mock function with given fields: id, page
func (*API) GetAnimeMoreInfo ¶
GetAnimeMoreInfo provides a mock function with given fields: id
func (*API) GetAnimeNews ¶
GetAnimeNews provides a mock function with given fields: id
func (*API) GetAnimePicture ¶
GetAnimePicture provides a mock function with given fields: id
func (*API) GetAnimeRecommendation ¶
GetAnimeRecommendation provides a mock function with given fields: id
func (*API) GetAnimeReview ¶
GetAnimeReview provides a mock function with given fields: id, page
func (*API) GetAnimeStaff ¶
GetAnimeStaff provides a mock function with given fields: id
func (*API) GetAnimeStats ¶
GetAnimeStats provides a mock function with given fields: id
func (*API) GetAnimeVideo ¶
GetAnimeVideo provides a mock function with given fields: id, page
func (*API) GetAnimeWithGenre ¶
GetAnimeWithGenre provides a mock function with given fields: id, page
func (*API) GetArticle ¶
GetArticle provides a mock function with given fields: id
func (*API) GetArticleTag ¶
func (_m *API) GetArticleTag() ([]model.ArticleTagItem, int, error)
GetArticleTag provides a mock function with given fields:
func (*API) GetArticles ¶
GetArticles provides a mock function with given fields: page, tag
func (*API) GetCharacter ¶
GetCharacter provides a mock function with given fields: id
func (*API) GetCharacterArticle ¶
GetCharacterArticle provides a mock function with given fields: id
func (*API) GetCharacterClub ¶
GetCharacterClub provides a mock function with given fields: id
func (*API) GetCharacterOgraphy ¶
GetCharacterOgraphy provides a mock function with given fields: _type, id
func (*API) GetCharacterPicture ¶
GetCharacterPicture provides a mock function with given fields: id
func (*API) GetCharacterVA ¶ added in v1.2.0
GetCharacterVA provides a mock function with given fields: id
func (*API) GetClubMember ¶
GetClubMember provides a mock function with given fields: id, page
func (*API) GetClubPicture ¶
GetClubPicture provides a mock function with given fields: id
func (*API) GetClubRelated ¶
GetClubRelated provides a mock function with given fields: id
func (*API) GetMagazine ¶
GetMagazine provides a mock function with given fields: id, page
func (*API) GetMagazines ¶
GetMagazines provides a mock function with given fields:
func (*API) GetMangaArticle ¶
GetMangaArticle provides a mock function with given fields: id
func (*API) GetMangaCharacter ¶
GetMangaCharacter provides a mock function with given fields: id
func (*API) GetMangaClub ¶
GetMangaClub provides a mock function with given fields: id
func (*API) GetMangaMoreInfo ¶
GetMangaMoreInfo provides a mock function with given fields: id
func (*API) GetMangaNews ¶
GetMangaNews provides a mock function with given fields: id
func (*API) GetMangaPicture ¶
GetMangaPicture provides a mock function with given fields: id
func (*API) GetMangaRecommendation ¶
GetMangaRecommendation provides a mock function with given fields: id
func (*API) GetMangaReview ¶
GetMangaReview provides a mock function with given fields: id, page
func (*API) GetMangaStats ¶
GetMangaStats provides a mock function with given fields: id
func (*API) GetMangaWithGenre ¶
GetMangaWithGenre provides a mock function with given fields: id, page
func (*API) GetNewsList ¶
GetNewsList provides a mock function with given fields: page, tag
func (*API) GetNewsTag ¶
GetNewsTag provides a mock function with given fields:
func (*API) GetPeopleArticle ¶
GetPeopleArticle provides a mock function with given fields: id
func (*API) GetPeopleCharacter ¶
GetPeopleCharacter provides a mock function with given fields: id
func (*API) GetPeopleManga ¶
GetPeopleManga provides a mock function with given fields: id
func (*API) GetPeopleNews ¶
GetPeopleNews provides a mock function with given fields: id
func (*API) GetPeoplePicture ¶
GetPeoplePicture provides a mock function with given fields: id
func (*API) GetPeopleStaff ¶
GetPeopleStaff provides a mock function with given fields: id
func (*API) GetProducer ¶
GetProducer provides a mock function with given fields: id, page
func (*API) GetProducers ¶
GetProducers provides a mock function with given fields:
func (*API) GetRecommendation ¶
func (_m *API) GetRecommendation(_type string, id1 int, id2 int) (*model.Recommendation, int, error)
GetRecommendation provides a mock function with given fields: _type, id1, id2
func (*API) GetRecommendations ¶
GetRecommendations provides a mock function with given fields: _type, page
func (*API) GetReviews ¶
GetReviews provides a mock function with given fields: _type, page
func (*API) GetTopAnime ¶
GetTopAnime provides a mock function with given fields: _type, page
func (*API) GetTopCharacter ¶
GetTopCharacter provides a mock function with given fields: page
func (*API) GetTopManga ¶
GetTopManga provides a mock function with given fields: _type, page
func (*API) GetTopPeople ¶
GetTopPeople provides a mock function with given fields: page
func (*API) GetUserAnime ¶
GetUserAnime provides a mock function with given fields: query
func (*API) GetUserClub ¶
GetUserClub provides a mock function with given fields: username
func (*API) GetUserFavorite ¶
GetUserFavorite provides a mock function with given fields: username
func (*API) GetUserFriend ¶
GetUserFriend provides a mock function with given fields: username, page
func (*API) GetUserHistory ¶
GetUserHistory provides a mock function with given fields: username, _type
func (*API) GetUserManga ¶
GetUserManga provides a mock function with given fields: query
func (*API) GetUserRecommendation ¶
func (_m *API) GetUserRecommendation(username string, page int) ([]model.Recommendation, int, error)
GetUserRecommendation provides a mock function with given fields: username, page
func (*API) GetUserReview ¶
GetUserReview provides a mock function with given fields: username, page
func (*API) GetUserStats ¶
GetUserStats provides a mock function with given fields: username
func (*API) SearchAnime ¶
SearchAnime provides a mock function with given fields: query
func (*API) SearchCharacter ¶
SearchCharacter provides a mock function with given fields: query, page
func (*API) SearchClub ¶
SearchClub provides a mock function with given fields: query
func (*API) SearchManga ¶
SearchManga provides a mock function with given fields: query
func (*API) SearchPeople ¶
SearchPeople provides a mock function with given fields: query, page
func (*API) SearchUser ¶
SearchUser provides a mock function with given fields: query
type Cacher ¶
Cacher is an autogenerated mock type for the Cacher type
type Logger ¶
Logger is an autogenerated mock type for the Logger type