local

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 10 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 {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.FSCfg) *Local

func (*Local) DeleteFile

func (e *Local) DeleteFile(key string) error

@object: *Local @function: DeleteFile @description: 删除文件 @param: key string @return: error

func (*Local) UploadFile

func (e *Local) UploadFile(file *multipart.FileHeader) (filePath string, fileKey string, err error)

Jump to

Keyboard shortcuts

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