Documentation ¶
Index ¶
- type Representation
- func (z *Representation) DecodeMsg(dc *msgp.Reader) (err error)
- func (z Representation) EncodeMsg(en *msgp.Writer) (err error)
- func (z Representation) MarshalMsg(b []byte) (o []byte, err error)
- func (z Representation) Msgsize() (s int)
- func (z *Representation) UnmarshalMsg(bts []byte) (o []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Representation ¶
type Representation struct { Address string `msg:"url" json:"address"` Port string `msg:"port" json:"port"` Region string `msg:"region" json:"region"` }
Representation ...
func (*Representation) DecodeMsg ¶
func (z *Representation) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (Representation) EncodeMsg ¶
func (z Representation) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (Representation) MarshalMsg ¶
func (z Representation) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (Representation) Msgsize ¶
func (z Representation) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Representation) UnmarshalMsg ¶
func (z *Representation) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
Click to show internal directories.
Click to hide internal directories.