Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownCodec = errors.New("unknown codec")
ErrUnknownCodec is returned when no codec is found for the given name.
Functions ¶
This section is empty.
Types ¶
type GobCodec ¶
type GobCodec[Q, R any] struct{}
GobCodec is a Codec that uses gob as the underlying format.
type JSONCodec ¶
type JSONCodec[Q, R any] struct{}
JSONCodec is a Codec that uses JSON as the underlying format.
Click to show internal directories.
Click to hide internal directories.