Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PublicSubscribeChange = duplicator.MakeDuplicator("subscribe-outputs")
)
Functions ¶
func RegisterPrivateChangeDetect ¶
func RegisterPrivateChangeDetect(o id.Identifiable, update chan interface{}) error
func RegisterPublicChangeDetect ¶
func RegisterPublicChangeDetect(o id.Identifiable) error
func StartDetectChanges ¶
func StartDetectChanges()
func UnregisterChangeDetect ¶
func UnregisterChangeDetect(o id.Identifiable)
Types ¶
type ChangeField ¶
type ChangeField struct { Field string `json:"field"` Value interface{} `json:"value"` }
type ChangeNotify ¶
type ChangeNotify struct { Type string `json:"type"` Id string `json:"uuid"` Changes []*ChangeField `json:"changes"` Object id.Identifiable `json:"-"` }
func (*ChangeNotify) GetId ¶
func (cn *ChangeNotify) GetId() string
func (*ChangeNotify) GetType ¶
func (cn *ChangeNotify) GetType() string
type SubscribeUpdate ¶
Click to show internal directories.
Click to hide internal directories.