2023-07-24 08:07:05 +00:00
|
|
|
package config
|
|
|
|
|
2023-07-26 03:06:05 +00:00
|
|
|
import (
|
|
|
|
"fusenapi/server/websocket/internal/types"
|
|
|
|
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
|
|
)
|
2023-07-24 08:07:05 +00:00
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
rest.RestConf
|
2023-07-28 07:10:06 +00:00
|
|
|
SourceMysql string
|
|
|
|
Auth types.Auth
|
2023-07-30 16:41:04 +00:00
|
|
|
ReplicaId uint64
|
2023-07-28 07:10:06 +00:00
|
|
|
SourceRabbitMq string
|
2023-08-16 04:16:23 +00:00
|
|
|
AWS struct {
|
|
|
|
S3 struct {
|
|
|
|
Credentials struct {
|
|
|
|
AccessKeyID string
|
|
|
|
Secret string
|
|
|
|
Token string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
BLMService struct {
|
2023-10-10 09:17:28 +00:00
|
|
|
Version string
|
|
|
|
Urls []string
|
2023-08-16 04:16:23 +00:00
|
|
|
}
|
2023-08-16 06:09:03 +00:00
|
|
|
Unity struct {
|
|
|
|
Host string
|
2023-11-02 03:48:15 +00:00
|
|
|
Udp struct {
|
|
|
|
LocalAddr string
|
|
|
|
LocalPort int
|
|
|
|
RemoteAddr string
|
|
|
|
RemotePort int
|
|
|
|
}
|
2023-08-16 06:09:03 +00:00
|
|
|
}
|
2023-07-24 08:07:05 +00:00
|
|
|
}
|