local

package
v1.1.0-rc8 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalFileSystem

type LocalFileSystem struct {
	Root               string `env:""`
	FilesizeLimitBytes int64  `env:""`
	DiskReserveBytes   int64  `env:""`
}

func (*LocalFileSystem) Delete

func (l *LocalFileSystem) Delete(md5 string) error

func (*LocalFileSystem) Init

func (l *LocalFileSystem) Init() error

func (*LocalFileSystem) Read

func (l *LocalFileSystem) Read(md5 string) ([]byte, error)

func (*LocalFileSystem) SetDefault

func (l *LocalFileSystem) SetDefault()

func (*LocalFileSystem) Upload

func (l *LocalFileSystem) Upload(md5 string, data []byte) error

Upload key full path with filename

Jump to

Keyboard shortcuts

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