Documentation ¶
Overview ¶
Package updater handles background refreshes of GitHub data
Index ¶
- type Config
- type PFunc
- type Updater
- func (u *Updater) ForceRefresh(ctx context.Context, id string) *triage.CollectionResult
- func (u *Updater) Lookup(ctx context.Context, id string, blocking bool) *triage.CollectionResult
- func (u *Updater) Loop(ctx context.Context) error
- func (u *Updater) Persist() error
- func (u *Updater) RefreshCollection(ctx context.Context, id string, newerThan time.Time, force bool) (bool, error)
- func (u *Updater) RunOnce(ctx context.Context, force bool) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func (*Updater) ForceRefresh ¶
Click to show internal directories.
Click to hide internal directories.