You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package config
-
- import (
- "github.com/zeromicro/go-queue/kq"
- "github.com/zeromicro/go-zero/core/logx"
- "github.com/zeromicro/go-zero/core/stores/cache"
- "github.com/zeromicro/go-zero/core/stores/redis"
- "github.com/zeromicro/go-zero/rest"
- "github.com/zeromicro/go-zero/zrpc"
- )
-
- type Config struct {
- rest.RestConf
- KqProducerConf struct {
- Brokers []string
- HpcTopic string
- CloudTopic string
- AiTopic string
- }
- DB struct {
- DataSource string
- }
- Redis redis.RedisConf
- Cache cache.CacheConf
- LogConf logx.LogConf
- HpcConsumerConf kq.KqConf
- CloudConsumerConf kq.KqConf
- AiConsumerConf kq.KqConf
- K8sNativeConf zrpc.RpcClientConf
- ACRpcConf zrpc.RpcClientConf
- THRpcConf zrpc.RpcClientConf
- ModelArtsRpcConf zrpc.RpcClientConf
- CephRpcConf zrpc.RpcClientConf
- OctopusRpcConf zrpc.RpcClientConf
- NexusUrl string
- JccScheduleUrl string
- MinioConf struct {
- Secret string
- AccessKey string
- Endpoint string
- }
-
- RegistryConf struct {
- Username string
- Password string
- }
- SnowflakeConf SnowflakeConf
- }
-
- // SnowflakeConf 雪花算法机器id配置
- type SnowflakeConf struct {
- MachineId int64 `json:"machineId"`
- }
|