xdcc

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XDCCAssociations

type XDCCAssociations interface {
	TitleEpisode() titleepisode.TitleEpisodeService
	Quality() quality.QualityService
	ReleaseGroup() releasegroup.ReleaseGroupService
	Episode() episode.EpisodeService
	Bot() bot.BotService
}

type XDCCService

type XDCCService interface {
	CreateMany(ctx context.Context, arg params.InsertXDCCParams) error
	First(ctx context.Context, arg params.FirstXDCCParams) (*domain.XDCC, error)
	Filter(ctx context.Context, arg params.FilterXDCCParams) ([]*domain.XDCC, error)
	Count(ctx context.Context, arg params.CountXDCCParams) (int64, error)
	Delete(ctx context.Context, arg params.DeleteXDCCParams) (int64, error)
	SoftDelete(ctx context.Context, arg params.SoftDeleteXDCCParams) (int64, error)
	Update(ctx context.Context, arg params.UpdateXDCCParams) (int64, error)

	Associations() XDCCAssociations
}

func NewXDCCService

func NewXDCCService(
	querier database.QuerierExtended,
	cacher cacher.Cacher,
	associations XDCCAssociations,
) XDCCService

Jump to

Keyboard shortcuts

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