Documentation
¶
Index ¶
- func ReadCloserWrapFunc(read func(p []byte) (n int, err error), close func() error) io.ReadCloser
- func ReadWrapFunc(read func(p []byte) (n int, err error)) io.Reader
- func WriteCloserWrapFunc(write func(b []byte) (n int, err error), close func() error) gio.WriteCloser
- func WriterWrapFunc(fn func(b []byte) (n int, err error)) gio.Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadCloserWrapFunc ¶ added in v1.3.2
func ReadCloserWrapFunc( read func(p []byte) (n int, err error), close func() error, ) io.ReadCloser
ReadCloserWrapFunc wraps a function into a ReadCloser.
func ReadWrapFunc ¶ added in v1.3.2
ReadWrapFunc wraps a function into a Reader.
func WriteCloserWrapFunc ¶ added in v1.3.2
func WriteCloserWrapFunc( write func(b []byte) (n int, err error), close func() error, ) gio.WriteCloser
WriteCloserWrapFunc wraps a function into a WriteCloser.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.