package
Version:
v0.0.0-...-9fc37f3
Opens a new window with list of versions in this module.
Published: Jun 20, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Codec interface {
Marshal(v interface{}) ([]byte, error)
Unmarshal(bs []byte, v interface{}) error
String() string
}
Codec is a simple encoding interface used for the broker/transport
where headers are not supported by the underlying implementation.
type NewCodec func() Codec
NewCodec Takes in a connection/buffer and returns a new Codec
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.