anime

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2024 License: GPL-3.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL