1、暂存
This commit is contained in:
@ -14,7 +14,6 @@ type Extend struct {
|
||||
Redis RedisConfig `mapstructure:"redis"`
|
||||
ServiceId int64 `mapstructure:"serviceId"` //雪花算法id(服务id,比如1,2,3等,当多机部署需定义唯一id)
|
||||
EmailConfig EmailConfig `mapstructure:"emailConfig"`
|
||||
BinanceSet BinanceConfig `mapstructure:"binanceSet"` //binance配置
|
||||
Domain string //网站域名
|
||||
UDunConfig UDunConfig `mapstructure:"UDunConfig"`
|
||||
ProxyUrl string //代理地址
|
||||
@ -58,12 +57,6 @@ type EmailSend struct {
|
||||
To string `json:"to"` // 收件地址
|
||||
}
|
||||
|
||||
// BinanceConfig 币安路由配置
|
||||
type BinanceConfig struct {
|
||||
SpotRestURL string
|
||||
FutRestURL string
|
||||
}
|
||||
|
||||
type GoToneSmsConfig struct {
|
||||
SenderId string `json:"sender_id"`
|
||||
APIEndpoint string `json:"api_endpoint"`
|
||||
@ -82,3 +75,14 @@ type UDunConfig struct {
|
||||
UDunKey string `json:"UDunKey"`
|
||||
CurrServerIp string `json:"CurrServerIp"`
|
||||
}
|
||||
|
||||
/**
|
||||
* Binance配置结构体
|
||||
*/
|
||||
type BinanceConfig struct {
|
||||
ApiKey string `json:"apiKey" mapstructure:"apiKey"` // API密钥
|
||||
ApiSecret string `json:"apiSecret" mapstructure:"apiSecret"` // API密钥
|
||||
ProxyType string `json:"proxyType" mapstructure:"proxyType"` // 代理类型
|
||||
ProxyAddress string `json:"proxyAddress" mapstructure:"proxyAddress"` // 代理地址
|
||||
TestNet bool `json:"testNet" mapstructure:"testNet"` // 是否使用测试网
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user