Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Currency ¶
type CurrencyList ¶
type CurrencyList []Currency
func (*CurrencyList) GetConfigKey ¶
func (a *CurrencyList) GetConfigKey() string
func (*CurrencyList) LoadConfig ¶
func (a *CurrencyList) LoadConfig(value []byte)
type CurrencyNet ¶
type CurrencyNet struct { Name string `json:"name,omitempty" bson:"name" yaml:"name"` // 网络名称 SpareName string `json:"spare_name,omitempty" bson:"spare_name" yaml:"spare_name"` // 备用名称(目前是传给区块链) MasterCy string `json:"master_cy,omitempty" bson:"master_cy" yaml:"master_cy"` // 转账币种 AddressCy string `json:"address_cy" bson:"address_cy" yaml:"address_cy"` // 获取地址币种 Status bool `json:"status,omitempty" bson:"status" yaml:"status"` // 是否启用 AdviseGas string `json:"advise_gas" bson:"advise_gas" yaml:"advise_gas"` // 建议gas MinGas string `json:"min_gas" bson:"min_gas" yaml:"min_gas"` // 最小手续费 MaxGas string `json:"max_gas" bson:"max_gas" yaml:"max_gas"` // 最大手续费 Weight int32 `json:"weight,omitempty" bson:"weight" yaml:"weight"` // 排序权重 }
func (*CurrencyNet) ToPb ¶
func (c *CurrencyNet) ToPb() *dto.Net
type CurrencyNetList ¶
type CurrencyNetList []CurrencyNet
func (*CurrencyNetList) GetConfigKey ¶
func (a *CurrencyNetList) GetConfigKey() string
func (*CurrencyNetList) LoadConfig ¶
func (a *CurrencyNetList) LoadConfig(value []byte)
Click to show internal directories.
Click to hide internal directories.