Documentation
¶
Index ¶
Constants ¶
View Source
const ( // InformType_Started type when process started InformType_Started string = "Started" // InformType_Finished type when process finished InformType_Finished string = "Finished" // InformType_Failed type when process failed InformType_Failed string = "Failed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InformMessage ¶
type InformMessage struct {
QueueMessage
Type string `json:"type"`
At time.Time `json:"at"`
}
InformMessage message with inform information
type QueueMessage ¶
type QueueMessage struct {
ID string `json:"id"`
Tags []Tag `json:"tags,omitempty"`
Error string `json:"error,omitempty"`
}
QueueMessage message going throuht broker
func NewQueueMessageFromM ¶
func NewQueueMessageFromM(m *QueueMessage) *QueueMessage
NewQueueMessageFromM copies message
Click to show internal directories.
Click to hide internal directories.