fileStore

package
v0.0.0-...-7c619cd Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT 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 {
	Path string
}

func InitLocal

func InitLocal(path string) *Local

func (*Local) DeleteFile

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

DeleteFile 删除文件

func (*Local) UploadFile

func (a *Local) UploadFile(file *multipart.FileHeader) (string, string, error)

UploadFile 上传文件

Jump to

Keyboard shortcuts

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