24 lines
350 B
Go
24 lines
350 B
Go
package config
|
|
|
|
import (
|
|
"fusenapi/server/upload/internal/types"
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
)
|
|
|
|
type Config struct {
|
|
rest.RestConf
|
|
SourceMysql string
|
|
Auth types.Auth
|
|
Env string
|
|
AWS struct {
|
|
S3 struct {
|
|
Credentials struct {
|
|
AccessKeyID string
|
|
Secret string
|
|
Token string
|
|
}
|
|
}
|
|
}
|
|
}
|