Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnknownTopicType = errors.New("unknown topic type")
)
Functions ¶
This section is empty.
Types ¶
type ExecutionMessage ¶
type ExecutionMessage struct { WorkflowName string `json:"workflowName"` ExecutionId string `json:"executionId"` Status string `json:"status"` Results string `json:"results"` }
func DeserializeExecutionMessage ¶
func DeserializeExecutionMessage(b []byte) (ExecutionMessage, error)
func NewExecutionMessage ¶
func NewExecutionMessage(e workflow.ExecutionIdentifier, w workflow.WorkflowName, status workflow.Status, msg, results string) ExecutionMessage
func (ExecutionMessage) Serialize ¶
func (e ExecutionMessage) Serialize() (string, error)
type Identifier ¶ added in v0.0.10
type Identifier string
func IdentifierFromString ¶ added in v0.0.10
func IdentifierFromString(id string) (Identifier, error)
func (Identifier) String ¶ added in v0.0.10
func (i Identifier) String() string
type Notifier ¶ added in v0.0.10
type Notifier struct { Name Identifier Type TopicType Endpoint Endpoint }
func NewNotifier ¶ added in v0.0.10
func NewNotifier(name Identifier, topicType TopicType, endpoint Endpoint) *Notifier
type Topic ¶
type Topic struct { TopicType TopicType TopicEndpoint TopicEndpoint }
func NewTopic ¶
func NewTopic(topicType TopicType, topicEndpoint TopicEndpoint) Topic
type TopicEndpoint ¶
type TopicEndpoint string
func TopicEndpointFromString ¶
func TopicEndpointFromString(s string) (TopicEndpoint, error)
func (TopicEndpoint) String ¶
func (x TopicEndpoint) String() string
Click to show internal directories.
Click to hide internal directories.