file_store

package
v0.0.0-...-79307e8 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ALiYunOSS

type ALiYunOSS struct {
	Client          interface{}
	Endpoint        string
	AccessKeyId     string
	AccessKeySecret string
	BucketName      string
}

func (*ALiYunOSS) Setup

func (e *ALiYunOSS) Setup() error

func (*ALiYunOSS) UpLoad

func (e *ALiYunOSS) UpLoad(yourObjectName string, localFile string) error

UpLoad 文件上传

type FileStore

type FileStore struct {
}

func (*FileStore) Setup

func (e *FileStore) Setup(driver string)

Setup 配置数据库

type FileStoreType

type FileStoreType interface {
	Setup() error
	UpLoad(yourObjectName string, localFile string) error
}

Jump to

Keyboard shortcuts

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