io

package
v0.3.3-buildfails Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadCloser

type ReadCloser interface {
	Reader
	io.Closer
}

func NewDelimitedReader

func NewDelimitedReader(r io.Reader, maxSize int) ReadCloser

func NewFullReader

func NewFullReader(r io.Reader, maxSize int) ReadCloser

func NewUint32DelimitedReader

func NewUint32DelimitedReader(r io.Reader, byteOrder binary.ByteOrder, maxSize int) ReadCloser

type Reader

type Reader interface {
	ReadMsg(msg proto.Message) error
}

type WriteCloser

type WriteCloser interface {
	Writer
	io.Closer
}

func NewDelimitedWriter

func NewDelimitedWriter(w io.Writer) WriteCloser

func NewFullWriter

func NewFullWriter(w io.Writer) WriteCloser

func NewUint32DelimitedWriter

func NewUint32DelimitedWriter(w io.Writer, byteOrder binary.ByteOrder) WriteCloser

type Writer

type Writer interface {
	WriteMsg(proto.Message) error
}

Jump to

Keyboard shortcuts

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