Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { JoinRef *string Ref *string Topic string Event EventType Payload json.RawMessage }
func (*Message) MarshalJSON ¶
func (*Message) UnmarshalJSON ¶
type Reply ¶
type Reply struct { JoinRef *string `json:"join_ref"` Ref *string `json:"ref"` Topic string `json:"topic"` Status Status `json:"status"` Payload interface{} `json:"payload"` }
TODO combine with Message
func (*Reply) MarshalJSON ¶
func (*Reply) SetPayload ¶
Click to show internal directories.
Click to hide internal directories.