Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( List ObjectType = "list" Single ObjectType = "single" Add EventType = "ADDED" Update EventType = "MODIFIED" Delete EventType = "DELETED" Error EventType = "ERROR" )
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { PublishInterface SubscribeInterface Info() string }
type Message ¶
type Message struct { ObjectType ObjectType EventType EventType Object interface{} }
type ObjectType ¶
type ObjectType string
type PublishInterface ¶
Click to show internal directories.
Click to hide internal directories.