Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { List(ctx context.Context) ([]domain.DownloadClient, error) FindByID(ctx context.Context, id int32) (*domain.DownloadClient, error) Store(ctx context.Context, client domain.DownloadClient) (*domain.DownloadClient, error) Update(ctx context.Context, client domain.DownloadClient) (*domain.DownloadClient, error) Delete(ctx context.Context, clientID int) error Test(ctx context.Context, client domain.DownloadClient) error GetCachedClient(ctx context.Context, clientId int32) *domain.DownloadClientCached }
func NewService ¶
func NewService(log logger.Logger, repo domain.DownloadClientRepo) Service
Click to show internal directories.
Click to hide internal directories.