reader

package
v2.0.0-beta2.0...-3469a79 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseReader

type BaseReader interface {
	BaseReader() io.Reader
}

BaseReader is an interface that requires a BaseReader function

type ReadCloserResetter

type ReadCloserResetter interface {
	Resetter
	io.ReadCloser
}

ReadCloserResetter is a combination of a traditional ReadCloser and a Resetter

func NewReadCloserResetter

func NewReadCloserResetter(r io.Reader) ReadCloserResetter

NewReadCloserResetter returns a ReadCloserResetter using the provided Reader

func NewReadCloserResetterBytes

func NewReadCloserResetterBytes(b []byte) ReadCloserResetter

NewReadCloserResetterBytes returns a ReadCloserResetter using the provided byte slice

type Resetter

type Resetter interface {
	Reset(r io.Reader) error
}

Resetter is an interface that requires a Reader Reset function

Jump to

Keyboard shortcuts

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