2024-06-07 11:11:04 +08:00
|
|
|
package config
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/zeromicro/go-zero/core/stores/cache"
|
|
|
|
"github.com/zeromicro/go-zero/zrpc"
|
|
|
|
"trasfer_middleware/cmd/rpc/etc"
|
|
|
|
"trasfer_middleware/cmd/rpc/internal/logic/po/zltx/types"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
zrpc.RpcServerConf
|
|
|
|
etc.ExtraConfig
|
2024-06-07 14:28:29 +08:00
|
|
|
Cache cache.CacheConf
|
|
|
|
ZLTX types.ZLTXConf
|
|
|
|
Market types.MarketConf
|
2024-06-18 16:34:14 +08:00
|
|
|
RS types.RSConf
|
2024-06-12 13:46:14 +08:00
|
|
|
DB struct {
|
|
|
|
Master struct {
|
|
|
|
DataSource string
|
|
|
|
}
|
|
|
|
Slave struct {
|
|
|
|
DataSource string
|
|
|
|
}
|
|
|
|
}
|
2024-06-07 11:11:04 +08:00
|
|
|
}
|