Documentation ¶
Index ¶
- type Cron
- func (c *Cron) At(hour string) *Cron
- func (c *Cron) Days() *Cron
- func (c *Cron) Each(interval time.Duration) *Cron
- func (c *Cron) Exclusive(semaphoreApp Semaphore, name string, timeout time.Duration) *Cron
- func (c *Cron) Friday() *Cron
- func (c *Cron) In(tz string) *Cron
- func (c *Cron) MaxRetry(maxRetry uint) *Cron
- func (c *Cron) Monday() *Cron
- func (c *Cron) Now() *Cron
- func (c *Cron) OnError(onError func(error)) *Cron
- func (c *Cron) OnSignal(signal os.Signal) *Cron
- func (c *Cron) Retry(retryInterval time.Duration) *Cron
- func (c *Cron) Saturday() *Cron
- func (c *Cron) Shutdown()
- func (c *Cron) Start(ctx context.Context, action func(context.Context) error)
- func (c *Cron) String() string
- func (c *Cron) Sunday() *Cron
- func (c *Cron) Thursday() *Cron
- func (c *Cron) Tuesday() *Cron
- func (c *Cron) Wednesday() *Cron
- func (c *Cron) Weekdays() *Cron
- func (c *Cron) WithTracer(tracer trace.Tracer) *Cron
- type GetNow
- type Semaphore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.