blockchain/internal/config/config.go

21 lines
321 B
Go
Executable File

package config
import (
"github.com/zeromicro/go-zero/core/stores/redis"
"github.com/zeromicro/go-zero/zrpc"
)
type Config struct {
zrpc.RpcServerConf
Binance Binance
// Redis Cluster
RedisCluster redis.RedisConf
}
type Binance struct {
Key string
Secret string
TestMode bool
WorkerSize int64
}