Documentation ¶
Index ¶
- func CloserContext(c io.Closer, ctx context.Context) func()
- func ContextCloser[C io.Closer](ctx context.Context, c C) func()
- func Copy(dst io.Writer, src io.Reader, f func(written int64)) (int64, error)
- func CopyBuffer(dst io.Writer, src io.Reader, buf []byte, f func(written int64)) (int64, error)
- func MultiCloser(closers ...func() error) io.Closer
- func ReadCloser(r io.Reader, c io.Closer) io.ReadCloser
- type Tracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyBuffer ¶
func MultiCloser ¶
func ReadCloser ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.