Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Codec ¶
type Codec interface { Marshal(v interface{}) ([]byte, error) Unmarshal(data []byte, v interface{}) error }
Codec is the interface that wraps the arpc Message data encoding method.
Marshal returns the JSON encoding of v ¶
Unmarshal parses the Message data and stores the result in the value pointed to by v
Click to show internal directories.
Click to hide internal directories.