Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoMarkers = errors.New("no markers")
Functions ¶
This section is empty.
Types ¶
type MarkerCache ¶
type MarkerCache interface { // Pop retrieves and removes a marker from the cache Pop(ctx context.Context, projectID string) (*api.Marker, error) // Push returns unused markers to their project's cache Push(projectID string, markers ...*api.Marker) error // Queue notifies the workers that a project's cache // is most likely not full Queue(projectID string) error // Start begins the worker thread Start() // Close stops the worker thread Close() error }
type ReceiveMarker ¶
Click to show internal directories.
Click to hide internal directories.