提供文件上传及静态服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
688 B

4 months ago
package config
type Minio struct {
Endpoint string `mapstructure:"endpoint" json:"endpoint" yaml:"endpoint"` //端点
AccessKeyID string `mapstructure:"accessKeyID" json:"accessKeyID" yaml:"accessKeyId"` //用户ID
SecretAccessKey string `mapstructure:"secretAccessKey" json:"secretAccessKey" yaml:"secretAccessKey"` //密钥
UseSSL bool `mapstructure:"useSSL" json:"useSSL" yaml:"useSsl"` //是否使用ssl
AsseptUrl string `mapstructure:"asseptUrl" json:"asseptUrl" yaml:"asseptUrl"` //静态服务地址
Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket"`
}