Documentation ¶
Index ¶
Constants ¶
View Source
const ( Btrue = "true" BtrueLen = len(Btrue) Bfalse = "false" BfalseLen = len(Bfalse) )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Envelope ¶
Envelope is a relay message sent in response to an EventEnvelope to indicate acceptance (OK is true), rejection and provide a human readable Reason for clients to display to users, with the first word being a machine readable reason type, as listed in the RejectReason* constants above, followed by ": " and a human readable message.
func NewOKEnvelope ¶
func (*Envelope) MarshalJSON ¶
MarshalJSON returns the JSON encoded form of the envelope.
Click to show internal directories.
Click to hide internal directories.