Documentation ¶
Index ¶
Constants ¶
View Source
const CName = "common.commonspace.syncstatus"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatusService ¶ added in v0.2.0
type StatusService interface { app.ComponentRunnable StatusUpdater StatusWatcher }
func NewNoOpSyncStatus ¶
func NewNoOpSyncStatus() StatusService
func NewSyncStatusProvider ¶
func NewSyncStatusProvider() StatusService
type StatusServiceProvider ¶ added in v0.2.0
type StatusServiceProvider interface { app.Component NewStatusService() StatusService }
type StatusUpdater ¶
type StatusWatcher ¶
type StatusWatcher interface { Watch(treeId string) (err error) Unwatch(treeId string) SetUpdateReceiver(updater UpdateReceiver) }
type SyncStatus ¶
type SyncStatus int
const ( StatusUnknown SyncStatus = iota StatusSynced StatusNotSynced )
type UpdateReceiver ¶
Click to show internal directories.
Click to hide internal directories.