Documentation ¶ Index ¶ type ExpiryWorker func (w *ExpiryWorker) Name() string func (w *ExpiryWorker) Run(ctx context.Context) error type RefreshWorker func (w *RefreshWorker) Name() string func (w *RefreshWorker) Run(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ExpiryWorker ¶ type ExpiryWorker struct { Service *quota.Service Every time.Duration Batch int } func (*ExpiryWorker) Name ¶ func (w *ExpiryWorker) Name() string func (*ExpiryWorker) Run ¶ func (w *ExpiryWorker) Run(ctx context.Context) error type RefreshWorker ¶ type RefreshWorker struct { Service *quota.Service Every time.Duration } func (*RefreshWorker) Name ¶ func (w *RefreshWorker) Name() string func (*RefreshWorker) Run ¶ func (w *RefreshWorker) Run(ctx context.Context) error Source Files ¶ View all Source files expiry.gorefresh.go Click to show internal directories. Click to hide internal directories.