28 lines
445 B
Go
28 lines
445 B
Go
package config
|
|
|
|
import (
|
|
"fusenapi/server/render/internal/types"
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
)
|
|
|
|
type Config struct {
|
|
rest.RestConf
|
|
SourceMysql string
|
|
Auth types.Auth
|
|
ReplicaId uint64
|
|
SourceRabbitMq string
|
|
AWS struct {
|
|
S3 struct {
|
|
Credentials struct {
|
|
AccessKeyID string
|
|
Secret string
|
|
Token string
|
|
}
|
|
}
|
|
}
|
|
PythonApi struct {
|
|
CombineImageUrl string //合图url
|
|
}
|
|
}
|