exchange.go 590 B

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