Documentation ¶
Index ¶
- type YeepayConfig
- func (req YeepayConfig) GetAppKey() string
- func (req YeepayConfig) GetGateway() string
- func (req YeepayConfig) GetMerchantNo() string
- func (req YeepayConfig) GetParentMerchantNo() string
- func (req YeepayConfig) GetPrivateKeyFile() string
- func (req YeepayConfig) GetSdkLang() string
- func (req YeepayConfig) GetSdkVersion() string
- func (req YeepayConfig) GetYopPublicKey() string
- func (req *YeepayConfig) SetAppKey(appKey string) *YeepayConfig
- func (req *YeepayConfig) SetGateway(gateway string) *YeepayConfig
- func (req *YeepayConfig) SetMerchantNo(merchantNo string) *YeepayConfig
- func (req *YeepayConfig) SetParentMerchantNo(parentMerchantNo string) *YeepayConfig
- func (req *YeepayConfig) SetPrivateKeyFile(privateKeyFile string) *YeepayConfig
- func (req *YeepayConfig) SetSdkLang(sdkLang string) *YeepayConfig
- func (req *YeepayConfig) SetSdkVersion(sdkVersion string) *YeepayConfig
- func (req *YeepayConfig) SetYopPublicKey(yopPublicKey string) *YeepayConfig
- type YeepayLogger
- type YeepayLoggerInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YeepayConfig ¶
type YeepayConfig struct {
// contains filtered or unexported fields
}
func NewYeepayConfig ¶
func NewYeepayConfig(id, yopPublicKey, privateKeyFile string) YeepayConfig
func (YeepayConfig) GetAppKey ¶
func (req YeepayConfig) GetAppKey() string
func (YeepayConfig) GetGateway ¶
func (req YeepayConfig) GetGateway() string
func (YeepayConfig) GetMerchantNo ¶
func (req YeepayConfig) GetMerchantNo() string
func (YeepayConfig) GetParentMerchantNo ¶
func (req YeepayConfig) GetParentMerchantNo() string
func (YeepayConfig) GetPrivateKeyFile ¶
func (req YeepayConfig) GetPrivateKeyFile() string
func (YeepayConfig) GetSdkLang ¶
func (req YeepayConfig) GetSdkLang() string
func (YeepayConfig) GetSdkVersion ¶
func (req YeepayConfig) GetSdkVersion() string
func (YeepayConfig) GetYopPublicKey ¶
func (req YeepayConfig) GetYopPublicKey() string
func (*YeepayConfig) SetAppKey ¶
func (req *YeepayConfig) SetAppKey(appKey string) *YeepayConfig
func (*YeepayConfig) SetGateway ¶
func (req *YeepayConfig) SetGateway(gateway string) *YeepayConfig
func (*YeepayConfig) SetMerchantNo ¶
func (req *YeepayConfig) SetMerchantNo(merchantNo string) *YeepayConfig
func (*YeepayConfig) SetParentMerchantNo ¶
func (req *YeepayConfig) SetParentMerchantNo(parentMerchantNo string) *YeepayConfig
func (*YeepayConfig) SetPrivateKeyFile ¶
func (req *YeepayConfig) SetPrivateKeyFile(privateKeyFile string) *YeepayConfig
func (*YeepayConfig) SetSdkLang ¶
func (req *YeepayConfig) SetSdkLang(sdkLang string) *YeepayConfig
func (*YeepayConfig) SetSdkVersion ¶
func (req *YeepayConfig) SetSdkVersion(sdkVersion string) *YeepayConfig
func (*YeepayConfig) SetYopPublicKey ¶
func (req *YeepayConfig) SetYopPublicKey(yopPublicKey string) *YeepayConfig
type YeepayLogger ¶
type YeepayLogger struct { }
func (*YeepayLogger) Debug ¶
func (logs *YeepayLogger) Debug(args ...interface{})
func (*YeepayLogger) Error ¶
func (logs *YeepayLogger) Error(args ...interface{})
func (*YeepayLogger) Info ¶
func (logs *YeepayLogger) Info(args ...interface{})
func (*YeepayLogger) Panic ¶
func (logs *YeepayLogger) Panic(args ...interface{})
func (*YeepayLogger) Warn ¶
func (logs *YeepayLogger) Warn(args ...interface{})
type YeepayLoggerInterface ¶
type YeepayLoggerInterface interface { Error(args ...interface{}) Info(args ...interface{}) Debug(args ...interface{}) Warn(args ...interface{}) Panic(args ...interface{}) }
func NewYeepayLogger ¶
func NewYeepayLogger() YeepayLoggerInterface
Click to show internal directories.
Click to hide internal directories.