inklabs/rangedb

View on GitHub
record_io_stream.go

Summary

Maintainability
A
0 mins
Test Coverage
package rangedb
 
import (
"io"
)
 
// RecordIoStream is the interface that (de)serializes a stream of Records.
type RecordIoStream interface {
Read(io.Reader) RecordIterator
Write(io.Writer, RecordIterator) <-chan error
Bind(events ...Event)
}