Documentation ¶
Overview ¶
Package io provides io functions
Package io provides io functions
Index ¶
- Variables
- func Copy(dst io.Writer, src io.Reader) (written int64, err error)
- func NewReadCloserWithContext(ctx context.Context, r io.ReadCloser) (io.ReadCloser, error)
- func NewReaderWithContext(ctx context.Context, r io.Reader) (io.Reader, error)
- func NewWriteCloserWithContext(ctx context.Context, w io.WriteCloser) (io.WriteCloser, error)
- func NewWriterWithContext(ctx context.Context, w io.Writer) (io.Writer, error)
- type Closer
- type Copier
- type ReadCloser
- type Reader
- type WriteCloser
- type Writer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Pipe = io.Pipe EOF = io.EOF )
Functions ¶
func NewReadCloserWithContext ¶
func NewReadCloserWithContext(ctx context.Context, r io.ReadCloser) (io.ReadCloser, error)
func NewReaderWithContext ¶
func NewWriteCloserWithContext ¶
func NewWriteCloserWithContext(ctx context.Context, w io.WriteCloser) (io.WriteCloser, error)
Types ¶
type ReadCloser ¶ added in v1.1.1
type ReadCloser = io.ReadCloser
type WriteCloser ¶ added in v1.1.1
type WriteCloser = io.WriteCloser
Click to show internal directories.
Click to hide internal directories.