singlewriter

package module
v0.0.0-...-a92f03b Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2018 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 SingleWriter

type SingleWriter struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewSingleWriter

func NewSingleWriter() *SingleWriter

func (*SingleWriter) Bytes

func (w *SingleWriter) Bytes() []byte

func (*SingleWriter) Close

func (w *SingleWriter) Close() error

func (*SingleWriter) Len

func (w *SingleWriter) Len() int

func (*SingleWriter) Open

func (w *SingleWriter) Open() (io.ReadCloser, error)

func (*SingleWriter) ReadFrom

func (w *SingleWriter) ReadFrom(p []byte, off int) (int, error)

func (*SingleWriter) Write

func (w *SingleWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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