Documentation ¶
Overview ¶
Package keys is a composable framework for constructing badger keys from fields of events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Element ¶
type Element interface { // Write the binary form of the field into the given bytes.Buffer. Write(buf *bytes.Buffer) // Read accepts a bytes.Buffer and decodes a field from it. Read(buf *bytes.Buffer) Element // Len gives the length of the bytes output by the type. Len() int }
Element is an enveloper for a type that can Read and Write its binary form.
Click to show internal directories.
Click to hide internal directories.