Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker interface { SetSyncTime(event, projectType string, t time.Time) GetSyncTime(event, projectType string) time.Time }
Checker records and retrieves the last sync times.
type Dispatcher ¶
type Dispatcher interface { Dispatch(project wporg.RepoProject) error Init() error Close() error }
Dispatcher describes an interface for dispatching RepoProjects to a queue service. The service will need to implement this interface.
type UpdateChecker ¶
UpdateChecker describes a combined Updater and Checker.
type Updater ¶
type Updater interface { UpdateCheck(project wporg.RepoProject) bool RecordUpdate(project wporg.RepoProject) error }
Updater describes an interface to determine and record the currency of the last dispatched RepoProject.
Click to show internal directories.
Click to hide internal directories.