Documentation
¶
Index ¶
- func ReaderCloserWrapFunc(read func(p []byte) (n int, err error), close func() error) io.ReadCloser
- func ReaderWrapFunc(fn func(p []byte) (n int, err error)) io.Reader
- func WriterCloserWrapFunc(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 ReaderCloserWrapFunc ¶ added in v1.3.1
func ReaderCloserWrapFunc( read func(p []byte) (n int, err error), close func() error, ) io.ReadCloser
ReaderCloserWrapFunc wraps a function into a ReaderCloser.
func ReaderWrapFunc ¶ added in v1.3.1
ReaderWrapFunc wraps a function into a Reader.
func WriterCloserWrapFunc ¶ added in v1.3.1
func WriterCloserWrapFunc( write func(b []byte) (n int, err error), close func() error, ) gio.WriteCloser
WriterCloserWrapFunc wraps a function into a WriterCloser.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.