- package config
- type Exchange struct {
- RootUrl string `mapstructure:"root_url" json:"root_url" yaml:"root_url"` // 根域名
- Appid string `mapstructure:"appid" json:"appid" yaml:"appid"` // 应用ID
- Secret string `mapstructure:"secret" json:"secret" yaml:"secret"` // 密钥
- RedirectUrl string `mapstructure:"redirect_url" json:"redirect_url" yaml:"redirect_url"` // 前端默认跳转URL
- CallbackUrl string `mapstructure:"callback_url" json:"callback_url" yaml:"callback_url"` // 回调地址配置到交易所
- }
|