Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnimeAssociations ¶
type AnimeAssociations interface { Genre() genre.GenreService AnimeGenre() AnimeGenreService Studio() studio.StudioService AnimeMedia() animemedia.AnimeMediaService AnimeLatest() animelatest.AnimeLatestService AnimeStudio() AnimeStudioService AnimeReview() animereview.AnimeReviewService AnimeIndex() animeindex.AnimeIndexService AnimeEpisode() animeepisode.AnimeEpisodeService AnimeSimulcast() animesimulcast.AnimeSimulcastService AnimeEpisodeLatest() animeepisodelatest.AnimeEpisodeLatestService AnimeStatus() animestatus.AnimeStatusService AnimeFormat() animeformat.AnimeFormatService AnimeSeason() animeseason.AnimeSeasonService Preferences() preferences.PreferencesService Image() image.ImageService }
func NewAnimeAssociations ¶
func NewAnimeAssociations( genre genre.GenreService, studio studio.StudioService, animeMedia animemedia.AnimeMediaService, animeLatest animelatest.AnimeLatestService, animeGenre AnimeGenreService, animeStudio AnimeStudioService, animeIndex animeindex.AnimeIndexService, animeReview animereview.AnimeReviewService, animeEpisode animeepisode.AnimeEpisodeService, animeSimulcast animesimulcast.AnimeSimulcastService, animeEpisodeLatest animeepisodelatest.AnimeEpisodeLatestService, animeStatus animestatus.AnimeStatusService, animeFormat animeformat.AnimeFormatService, animeSeason animeseason.AnimeSeasonService, preferences preferences.PreferencesService, image image.ImageService, ) AnimeAssociations
type AnimeGenreService ¶
type AnimeGenreService interface { CreateMany(ctx context.Context, arg params.InsertAnimeGenreParams) ([]*domain.AnimeGenre, error) First(ctx context.Context, arg params.FirstAnimeGenreParams) (*domain.AnimeGenre, error) Filter(ctx context.Context, arg params.FilterAnimeGenreParams) ([]*domain.AnimeGenre, error) Count(ctx context.Context, arg params.CountAnimeGenreParams) (int64, error) Delete(ctx context.Context, arg params.DeleteAnimeGenreParams) (int64, error) }
func NewAnimeGenreService ¶
func NewAnimeGenreService( querier database.QuerierExtended, cacher cacher.Cacher, ) AnimeGenreService
type AnimeService ¶
type AnimeService interface { Create(ctx context.Context, arg params.InsertAnimeParams) (*domain.Anime, error) Filter(ctx context.Context, arg params.FilterAnimeParams) ([]*domain.Anime, error) Count(ctx context.Context, arg params.CountAnimeParams) (int64, error) Update(ctx context.Context, arg params.UpdateAnimeParams) (int64, error) Delete(ctx context.Context, arg params.DeleteAnimeParams) (int64, error) UpdateReleasing(ctx context.Context) error CreateFromThirdParty(ctx context.Context, media models.Media) (*domain.Anime, error) CreateFromTitle(ctx context.Context, title domain.Title) ([]*domain.Anime, bool, error) Associations() AnimeAssociations }
func NewAnimeService ¶
func NewAnimeService( querier database.QuerierExtended, cacher cacher.Cacher, associations AnimeAssociations, ) AnimeService
type AnimeStudioService ¶
type AnimeStudioService interface { CreateMany(ctx context.Context, arg params.InsertAnimeStudioParams) ([]*domain.AnimeStudio, error) First(ctx context.Context, arg params.FirstAnimeStudioParams) (*domain.AnimeStudio, error) Filter(ctx context.Context, arg params.FilterAnimeStudioParams) ([]*domain.AnimeStudio, error) Count(ctx context.Context, arg params.CountAnimeStudioParams) (int64, error) Delete(ctx context.Context, arg params.DeleteAnimeStudioParams) (int64, error) }
func NewAnimeStudioService ¶
func NewAnimeStudioService( querier database.QuerierExtended, cacher cacher.Cacher, ) AnimeStudioService
Source Files ¶
Click to show internal directories.
Click to hide internal directories.