blackhole

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blackhole

type Blackhole struct{}

func New

func New() *Blackhole

func (*Blackhole) Delete

func (b *Blackhole) Delete(name string) error

func (*Blackhole) FilesList

func (b *Blackhole) FilesList(_ string) ([][]byte, error)

func (*Blackhole) Save

func (b *Blackhole) Save(_ string, data io.Reader) error

func (*Blackhole) SourceReader

func (b *Blackhole) SourceReader(name string) (io.ReadCloser, error)

type NopReadCloser

type NopReadCloser struct{}

NopReadCloser is a no operation ReadCloser

func (NopReadCloser) Close

func (NopReadCloser) Close() error

func (NopReadCloser) Read

func (NopReadCloser) Read(b []byte) (int, error)

Jump to

Keyboard shortcuts

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