Documentation
¶
Overview ¶
Package binary implements binary output formatting using encoding.BinaryMarshaler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryDriver ¶
type BinaryDriver struct{}
BinaryDriver formats flow messages via MarshalBinary.
func (*BinaryDriver) Format ¶
func (d *BinaryDriver) Format(data interface{}) ([]byte, []byte, error)
Format marshals the payload via encoding.BinaryMarshaler, preserving a Key when available.
func (*BinaryDriver) Init ¶
func (d *BinaryDriver) Init() error
Init finalizes runtime configuration for the driver.
func (*BinaryDriver) Prepare ¶
func (d *BinaryDriver) Prepare() error
Prepare performs any one-time setup for the driver.
Click to show internal directories.
Click to hide internal directories.