local

package
v0.71.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Local

type Local struct{}

func (*Local) Delete

func (l *Local) Delete(ctx context.Context, detail *types.StorageDetail) error

func (*Local) GetFile

func (l *Local) GetFile(ctx context.Context, detail *types.StorageDetail) ([]byte, error)

func (*Local) GetFileStream added in v0.60.0

func (l *Local) GetFileStream(ctx context.Context, detail *types.StorageDetail) (io.ReadCloser, error)

func (*Local) Init

func (l *Local) Init()

func (*Local) Save

func (l *Local) Save(ctx context.Context, filePath string, storagePath string) (*types.StorageDetail, error)

Jump to

Keyboard shortcuts

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