38 lines
579 B
Go
Raw Normal View History

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