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 encodes and decodes the body of arpc Messages.
Marshal returns the encoding of v.
Unmarshal decodes data and stores the result in the value pointed to by v.
Click to show internal directories.
Click to hide internal directories.