Documentation ¶
Index ¶
- type Config
- func (c *Config) CreateJob(ctx context.Context, job *async.Job, notification *async.Notification) error
- func (n *Config) DestinationURL(job *async.Job) string
- func (c *Config) ErrorTTL() time.Duration
- func (c *Config) Init(ctx context.Context, resource *view.Resource, mainView *view.View) error
- func (c *Config) JobByID(ctx context.Context, jobID string) (*async.Job, error)
- func (c *Config) JobByMatchKey(ctx context.Context, jobRef string) (*async.Job, error)
- func (c *Config) Lock()
- func (c *Config) TTL() time.Duration
- func (c *Config) Unlock()
- func (c *Config) UpdateJob(ctx context.Context, job *async.Job) error
- type Jobs
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Jobs State WithCache bool ExpiryTimeInSec int ErrorExpiryTimeInSec int async.Notification // contains filtered or unexported fields }
func (*Config) JobByMatchKey ¶
Click to show internal directories.
Click to hide internal directories.