Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseId ¶
func (*BaseId) MarshalJSONObject ¶
MarshalJSONObject implements MarshalerJSONObject
type Float64s ¶
type Float64s []float64
func (Float64s) MarshalJSONArray ¶
MarshalJSONArray encodes arrays into JSON
type Ints ¶
type Ints []int
func (Ints) MarshalJSONArray ¶
MarshalJSONArray encodes arrays into JSON
type Message ¶
type Message struct { *BaseId SubMessage Price float64 Ints []int Floats []float64 SubMessageX *SubMessage MessagesX []*SubMessage SubMessageY SubMessage MessagesY []SubMessage IsTrue *bool Payload []byte }
func (*Message) MarshalJSONObject ¶
MarshalJSONObject implements MarshalerJSONObject
type SubMessage ¶
func (*SubMessage) MarshalJSONObject ¶
func (m *SubMessage) MarshalJSONObject(enc *gojay.Encoder)
MarshalJSONObject implements MarshalerJSONObject
func (*SubMessage) NKeys ¶
func (m *SubMessage) NKeys() int
NKeys returns the number of keys to unmarshal
func (*SubMessage) UnmarshalJSONObject ¶
func (m *SubMessage) UnmarshalJSONObject(dec *gojay.Decoder, k string) error
UnmarshalJSONObject implements gojay's UnmarshalerJSONObject
type SubMessages ¶
type SubMessages []SubMessage
func (SubMessages) IsNil ¶
func (s SubMessages) IsNil() bool
func (SubMessages) MarshalJSONArray ¶
func (s SubMessages) MarshalJSONArray(enc *gojay.Encoder)
func (*SubMessages) UnmarshalJSONArray ¶
func (s *SubMessages) UnmarshalJSONArray(dec *gojay.Decoder) error
type SubMessagesPtr ¶
type SubMessagesPtr []*SubMessage
func (SubMessagesPtr) IsNil ¶
func (s SubMessagesPtr) IsNil() bool
func (SubMessagesPtr) MarshalJSONArray ¶
func (s SubMessagesPtr) MarshalJSONArray(enc *gojay.Encoder)
func (*SubMessagesPtr) UnmarshalJSONArray ¶
func (s *SubMessagesPtr) UnmarshalJSONArray(dec *gojay.Decoder) error
Click to show internal directories.
Click to hide internal directories.