Documentation ¶
Index ¶
Constants ¶
View Source
const ( Btrue = "true" BtrueLen = len(Btrue) Bfalse = "false" BfalseLen = len(Bfalse) )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type T ¶
T 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 (*T) MarshalJSON ¶
MarshalJSON returns the JSON encoded form of the envelope.
func (*T) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.