Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChanPipe ¶
type ChanPipe chan []byte
ChanPipe is a very simple pipe that uses a single channel to move bytes around.
func (ChanPipe) ReadString ¶
ReadString is an utility function that will keep reading from the pipe until the bytes from the supplied string are read.
type ConcBuffer ¶
ConcBuffer wraps a bytes.Buffer in a mutex so that concurrent writes to it don't upset the race detector.
func (*ConcBuffer) Reset ¶
func (c *ConcBuffer) Reset()
func (*ConcBuffer) String ¶
func (c *ConcBuffer) String() string
func (*ConcBuffer) WriteString ¶
func (c *ConcBuffer) WriteString(s string) (int, error)
Click to show internal directories.
Click to hide internal directories.