iohelper

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

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

func (*Counter) Size

func (c *Counter) Size() (n int64)

func (*Counter) Write

func (c *Counter) Write(p []byte) (n int, err error)

type NopWriteCloser

type NopWriteCloser struct {
	io.Writer
}

func (*NopWriteCloser) Close

func (w *NopWriteCloser) Close() error

type ReadCloser

type ReadCloser struct {
	io.ReadCloser
	CloseFunc func() error
}

func (*ReadCloser) Close

func (rc *ReadCloser) Close() error

type WriteCloser

type WriteCloser struct {
	io.WriteCloser
	CloseFunc func() error
}

func (*WriteCloser) Close

func (wc *WriteCloser) Close() error

Jump to

Keyboard shortcuts

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