filestorage

package
v0.0.0-...-1c5c016 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	// contains filtered or unexported fields
}

func NewFile

func NewFile(dir string) *File

func (File) Copy

func (f File) Copy(_ context.Context, dst, src string) (err error)

func (File) Open

func (f File) Open(_ context.Context, name string) (io.ReadCloser, error)

func (File) RemoveFile

func (f File) RemoveFile(_ context.Context, name string) error

func (File) SaveFile

func (f File) SaveFile(_ context.Context, file types.File) (err error)

Jump to

Keyboard shortcuts

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