Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AnyMessage ¶
type AnyMessage struct {
Response *Response
SubscribedMessage *SubscribedMessage
}
AnyMessage represents either a JSON Response or SubscribedMessage.
func (AnyMessage) MarshalJSON ¶
func (m AnyMessage) MarshalJSON() ([]byte, error)
func (*AnyMessage) UnmarshalJSON ¶
func (m *AnyMessage) UnmarshalJSON(data []byte) error
type DefaultParam ¶
type SubscribedMessage ¶
type SubscribedMessage struct {
Stream string `json:"stream"`
Data json.RawMessage `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.