Documentation ¶
Index ¶
- type MalKeeper
- func (m *MalKeeper) GetAnime(id int) (anime model.Anime, code int, err error)
- func (m *MalKeeper) GetAnimeCharacter(id int) (chars []model.Role, code int, err error)
- func (m *MalKeeper) GetAnimeStaff(id int) (staff []model.Role, code int, err error)
- func (m *MalKeeper) GetAnimeStats(id int) (stats model.Stats, code int, err error)
- func (m *MalKeeper) GetCharacter(id int) (character model.Character, code int, err error)
- func (m *MalKeeper) GetManga(id int) (manga model.Manga, code int, err error)
- func (m *MalKeeper) GetMangaCharacter(id int) (chars []model.Role, code int, err error)
- func (m *MalKeeper) GetMangaStats(id int) (stats model.Stats, code int, err error)
- func (m *MalKeeper) GetPeople(id int) (people model.People, code int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MalKeeper ¶
MalKeeper instance.
func Basic ¶
func Basic(malService *malscraper.MalService, cfg config.Config) (malKeeper *MalKeeper, err error)
Basic is initiating basic needs for malkeeper.
func New ¶
func New(malService *malscraper.MalService, cfg config.Config) (malkeeper *MalKeeper, err error)
New to create new malkeeper object with user set config.
func (*MalKeeper) GetAnimeCharacter ¶
GetAnimeCharacter to get anime characters from db.
func (*MalKeeper) GetAnimeStaff ¶
GetAnimeStaff to get anime staff from db.
func (*MalKeeper) GetAnimeStats ¶
GetAnimeStats to get anime stats from db.
func (*MalKeeper) GetCharacter ¶
GetCharacter to get character details from db.
func (*MalKeeper) GetMangaCharacter ¶
GetMangaCharacter to get manga characters from db.
func (*MalKeeper) GetMangaStats ¶
GetMangaStats to get manga stats from db.
Click to show internal directories.
Click to hide internal directories.