Documentation
¶
Overview ¶
Package protostream implements reading and writing of protobuf messages to data streams.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader reads protobuf messages from an io.Reader.
func NewReader ¶
NewReader returns a new Reader. src is the io.Reader that the Reader should read the log from.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer writes protobuf messages to an io.Writer.
func NewWriter ¶
NewWriter returns a new Writer. dest is the io.Writer that the Writer should write to (the stream).
Click to show internal directories.
Click to hide internal directories.