Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
func NewRefreshListsJob ¶
func NewRefreshListsJob(log zerolog.Logger, listSvc RefreshListSvc) Job
type RefreshListSvc ¶
type RefreshListsJob ¶
type RefreshListsJob struct {
// contains filtered or unexported fields
}
func (*RefreshListsJob) Run ¶
func (job *RefreshListsJob) Run()
type Service ¶
type Service interface { List(ctx context.Context) ([]*domain.List, error) FindByID(ctx context.Context, id int64) (*domain.List, error) Store(ctx context.Context, list *domain.List) error Update(ctx context.Context, list *domain.List) error Delete(ctx context.Context, id int64) error RefreshAll(ctx context.Context) error RefreshList(ctx context.Context, listID int64) error RefreshArrLists(ctx context.Context) error RefreshOtherLists(ctx context.Context) error Start() }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.