Documentation ¶
Index ¶
- type Service
- func (s *Service) Get(_ context.Context, id string) (background.Job, error)
- func (s *Service) JobCompleted(_ context.Context, id string, response background.Response) error
- func (s *Service) JobStarted(_ context.Context, kind string) (background.Job, error)
- func (s *Service) Jobs() ([]background.Job, error)
- func (s *Service) Ping(_ context.Context, id string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service represents in-memory service for store information about background jobs.
func (*Service) JobCompleted ¶
JobCompleted saves that background job is completed.
func (*Service) JobStarted ¶
JobStarted saves initial information about new background job.
Click to show internal directories.
Click to hide internal directories.