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(semaphore 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) WithTracerProvider(tracerProvider trace.TracerProvider) *Cron
- type GetNow
- type Semaphore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cron ¶
type Cron struct {
// contains filtered or unexported fields
}
func (*Cron) WithTracerProvider ¶ added in v4.63.3
func (c *Cron) WithTracerProvider(tracerProvider trace.TracerProvider) *Cron
Click to show internal directories.
Click to hide internal directories.