stash

package
v0.15.8 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

Reader covers Source function in the manner, so it implements the io.Reader

func New

func New(source Retriever) *Reader

func (*Reader) Read

func (r *Reader) Read(b []byte) (n int, err error)

func (*Reader) Reset

func (r *Reader) Reset()

type Retriever added in v0.15.5

type Retriever func() ([]byte, error)

Jump to

Keyboard shortcuts

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