Documentation
¶
Index ¶
Constants ¶
View Source
const ( Create messageType = "create" Update messageType = "update" Delete messageType = "delete" )
Variables ¶
This section is empty.
Functions ¶
func NewTopicManager ¶
Types ¶
type Message ¶
type Message struct { // Type: optional create/delete/update Type messageType `json:"type,omitempty"` Resource Resource `json:"resource_set,omitempty"` }
type Resource ¶
type Resource struct { ResourceType string `json:"rtype,omitempty"` ResourceId string `json:"rid,omitempty"` Status *string `json:"status,omitempty"` TransitionStatus *string `json:"tstatus,omitempty"` }
func NewResource ¶
func (Resource) GetTopicResource ¶
func (Resource) SetTransitionStatus ¶
Click to show internal directories.
Click to hide internal directories.