storage

package
v0.0.0-...-f92f1a8 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

type FileSystem struct{}

func (FileSystem) Reader

func (fs FileSystem) Reader(path string) (io.ReadCloser, error)

func (FileSystem) Writer

func (fs FileSystem) Writer(path string) (io.WriteCloser, error)

type Storer

type Storer interface {
	Reader(path string) (io.ReadCloser, error)
	Writer(path string) (io.WriteCloser, error)
}

func NewFileSystem

func NewFileSystem() Storer

Jump to

Keyboard shortcuts

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