upload

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LocalDir string    `json:",optional"` //本地上传路径
	Oss      OssConfig `json:",optional"` //Oss上传配置
}

type OssConfig

type OssConfig struct {
	Enable          bool   `json:",optional"`
	AccessKeyId     string `json:",optional"`
	AccessKeySecret string `json:",optional"`
	Endpoint        string `json:",optional"`
	BucketName      string `json:",optional"`
}

Jump to

Keyboard shortcuts

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