Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VideoAssociations ¶
type VideoAssociations interface { TitleAnime() titleanime.TitleAnimeService Thumbnail() image.ThumbnailService Quality() quality.QualityService XDCC() xdcc.XDCCService Preferences() preferences.PreferencesService Library() library.LibraryService }
func NewVideoAssociations ¶
func NewVideoAssociations( titleAnime titleanime.TitleAnimeService, thumbnail image.ThumbnailService, xdcc xdcc.XDCCService, quality quality.QualityService, preferences preferences.PreferencesService, library library.LibraryService, ) VideoAssociations
type VideoService ¶
type VideoService interface { Create(ctx context.Context, arg params.InsertVideoParams) (*domain.Video, error) First(ctx context.Context, arg params.FirstVideoParams) (*domain.Video, error) Filter(ctx context.Context, arg params.FilterVideoParams) ([]*domain.Video, error) Count(ctx context.Context, arg params.CountVideoParams) (int64, error) Update(ctx context.Context, arg params.UpdateVideoParams) (int64, error) Delete(ctx context.Context, arg params.DeleteVideoParams) (int64, error) Location(ctx context.Context, arg params.LocateVideoParams) (path string, err error) Entries(ctx context.Context) (videoEntries domain.VideoEntries, err error) Associations() VideoAssociations }
func NewVideoService ¶
func NewVideoService( querier database.QuerierExtended, cacher cacher.Cacher, fs *fs.FileSystem, associations VideoAssociations, ) VideoService
Click to show internal directories.
Click to hide internal directories.