Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeCreated = "created" TypeUpdated = "updated" TypeDeleted = "deleted" TypeRequested = "requested" )
event types
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Type string `json:"type" yaml:"type"` EntityType string `json:"entityType" yaml:"entityType"` EntityID string `json:"entityId" yaml:"entityId"` EntityQuickID string `json:"entityQuickId" yaml:"entityQuickId"` Entity interface{} `json:"entity" yaml:"entity"` }
Event struct
func (*Event) LoadEntity ¶
Click to show internal directories.
Click to hide internal directories.