 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliPayConfigPath ¶ added in v1.1.0
type AliPayConfigPath struct {
	AppId                       string // appId
	SignType                    string // 签名类型
	PrivateKey                  string // 应用私钥
	Status                      bool   // 是否启用
	AppPublicContentPath        string // 应用公钥证书内容
	AlipayPublicContentRSA2Path string // 支付宝公钥证书内容
	AlipayRootContentPath       string // 支付宝根证书内容
}
    func (*AliPayConfigPath) NewAliPayPayConfig ¶ added in v1.1.0
func (p *AliPayConfigPath) NewAliPayPayConfig(payConfig *payment.PayConfig) error
type Config ¶
type Config struct {
	zrpc.RpcServerConf
	DatabaseConf     config.DatabaseConf
	RedisConf        redis.RedisConf
	AsynqConf        asynq.AsynqConf
	PayProperties    model.Properties
	AliPayConfigPath AliPayConfigPath `json:",optional"`
}
     Click to show internal directories. 
   Click to hide internal directories.