util

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSyncWriter

func NewSyncWriter(w io.Writer) io.Writer

func ReadLine

func ReadLine(r *bufio.Reader) ([]byte, error)

Types

type ReaderPool

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

func NewReaderPool

func NewReaderPool(bufSize int) *ReaderPool

func (*ReaderPool) Get

func (rp *ReaderPool) Get(r io.Reader) *bufio.Reader

func (*ReaderPool) Put

func (rp *ReaderPool) Put(r *bufio.Reader)

Jump to

Keyboard shortcuts

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