Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec interface {
// EncodeTo encodes the index to the given writer.
EncodeTo(ctx context.Context, w io.Writer) (err error)
// DecodeFrom decodes the index from the given reader.
DecodeFrom(ctx context.Context, r io.Reader) (err error)
}
Codec defines interface for encoding and decoding index.
Click to show internal directories.
Click to hide internal directories.