yeepayGo

package module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2020 License: Apache-2.0 Imports: 1 Imported by: 4

README

yeepayGo

易宝支付 SDK Go 语言版

基础产品手册
代付代发手册

Requirements

Go 1.12 or above.

Install

go get -u -x -v -insecure github.com/RiverDanceGit/yeepayGo

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL