Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataFeed ¶
type DataFeed struct {
// contains filtered or unexported fields
}
func NewDataFeed ¶
func (*DataFeed) OnStatusUpdated ¶
func (d *DataFeed) OnStatusUpdated(status bapi.SyncStatus)
func (*DataFeed) RegisterForNotification ¶
func (d *DataFeed) RegisterForNotification(key model.Key, h UpdateHandler)
RegisterForNotification registers a channel to receive an update when the given kind receives an update. kind should be a pointer to the struct type received over the syncer.
func (*DataFeed) RegisterForSyncStatus ¶
func (d *DataFeed) RegisterForSyncStatus(h StatusHandler)
type StatusHandler ¶
type StatusHandler func(bapi.SyncStatus)
type UpdateHandler ¶
Click to show internal directories.
Click to hide internal directories.