Documentation ¶
Index ¶
- Variables
- func RegisterChangeUpdate(id string, changeChannel chan interface{}) error
- func RunGlobalSender()
- func SendChangeUpdate(id string, changeNotify *change.ChangeNotify)
- func SendDeleteObject(id string, deleteObject id.Identifiable)
- func SendNewObject(id string, newObject id.Identifiable)
- type Sender
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalMessages = duplicator.MakeDuplicator("global-messages")
Functions ¶
func RegisterChangeUpdate ¶
func RunGlobalSender ¶
func RunGlobalSender()
func SendChangeUpdate ¶
func SendChangeUpdate(id string, changeNotify *change.ChangeNotify)
func SendDeleteObject ¶
func SendDeleteObject(id string, deleteObject id.Identifiable)
func SendNewObject ¶
func SendNewObject(id string, newObject id.Identifiable)
Types ¶
type Sender ¶
type Sender struct { NewObjects *duplicator.ChannelDuplicator Updates *duplicator.ChannelDuplicator Notifications *duplicator.ChannelDuplicator Deletes *duplicator.ChannelDuplicator Output *duplicator.ChannelDuplicator // contains filtered or unexported fields }
func (*Sender) CloseOutput ¶
func (s *Sender) CloseOutput(ch chan interface{})
func (*Sender) RegisterUpdateInput ¶
func (s *Sender) RegisterUpdateInput(ch chan interface{})
Click to show internal directories.
Click to hide internal directories.