and

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadCloser

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

ReadCloser implements io.ReadCloser by reading from a particular io.Reader and then calling the provided "Close()" method.

func (*ReadCloser) Close

func (rac *ReadCloser) Close() error

Close implements io.ReadCloser

type WriteCloser

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

WriteCloser implements io.WriteCloser by reading from a particular io.Writer and then calling the provided "Close()" method.

func (*WriteCloser) Close

func (wac *WriteCloser) Close() error

Close implements io.WriteCloser

Jump to

Keyboard shortcuts

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