storage

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 1 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 GetFileSystem

func GetFileSystem() *FileSystem

func NewFileSystem

func NewFileSystem() *FileSystem

func (*FileSystem) Save

func (f *FileSystem) Save(binaryBytes []byte) (savePath string, err error)

func (*FileSystem) SaveAs

func (f *FileSystem) SaveAs(binaryBytes []byte, filePath string) error

type Store

type Store interface {
	Save(binaryBytes []byte) (savePath string, err error)
	SaveAs(binaryBytes []byte, filePath string) error
}

Jump to

Keyboard shortcuts

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