Documentation ¶
Overview ¶
Package codec is an interface for encoding messages
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidMessage = errors.New("invalid message")
)
Functions ¶
This section is empty.
Types ¶
type Codec ¶
Codec encodes/decodes various types of messages used within axon ReadHeader and ReadBody are called in pairs to read requests/responses from the connection. Close is called when finished with the connection. ReadBody may be called with a nil argument to force the body to be read and discarded.
Directories ¶
Path | Synopsis |
---|---|
Package bytes provides a bytes codec which does not encode or decode anything
|
Package bytes provides a bytes codec which does not encode or decode anything |
Package msgpack provides a msgpack codec
|
Package msgpack provides a msgpack codec |
Package text reads any text/* content-type
|
Package text reads any text/* content-type |
Click to show internal directories.
Click to hide internal directories.