transfer_middleware/cmd/rpc/internal/config/config.go

29 lines
466 B
Go
Executable File

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
DB struct {
Master struct {
DataSource string
}
Slave struct {
DataSource string
}
MarketReseller struct {
DataSource string
}
}
Cache cache.CacheConf
ZLTX types.ZLTXConf
}