protostream

package
v0.0.0-...-bbfb983 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtoStream

type ProtoStream struct {
	// contains filtered or unexported fields
}

func NewProtoStream

func NewProtoStream(rw ReaderWriter) *ProtoStream

func (*ProtoStream) Recv

func (p *ProtoStream) Recv(m proto.Message) error

func (*ProtoStream) Send

func (p *ProtoStream) Send(m proto.Message) error

type ReaderWriter

type ReaderWriter interface {
	io.Reader
	io.Writer
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL