Versions in this module Expand all Collapse all v0 v0.0.2 Nov 7, 2023 v0.0.2-alpha Nov 7, 2023 v0.0.1 Nov 7, 2023 Changes in this version + const DebugOff + const DebugOn + const FAIL + const NULL + const OK + const SUCCESS + const Version + var CertNotMatchErr = errors.New("cert not match error") + var GetSignDataErr = errors.New("get signature data error") + var MarshalErr = errors.New("marshal error") + var MissAlipayInitParamErr = errors.New("missing alipay init parameter") + var MissAppleInitParamErr = errors.New("missing apple init parameter") + var MissLakalaInitParamErr = errors.New("missing lakala init parameter") + var MissParamErr = errors.New("missing required parameter") + var MissPayPalInitParamErr = errors.New("missing paypal init parameter") + var MissWechatInitParamErr = errors.New("missing wechat init parameter") + var SignatureErr = errors.New("signature error") + var UnmarshalErr = errors.New("unmarshal error") + var VerifySignatureErr = errors.New("verify signature error") + type BodyMap map[string]any + func (bm *BodyMap) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) + func (bm BodyMap) CheckEmptyError(keys ...string) error + func (bm BodyMap) CheckNotAllEmptyError(keys ...string) error + func (bm BodyMap) EncodeAliPaySignParams() string + func (bm BodyMap) EncodeURLParams() string + func (bm BodyMap) EncodeWeChatSignParams(apiKey string) string + func (bm BodyMap) Get(key string) string + func (bm BodyMap) GetInterface(key string) any + func (bm BodyMap) GetString(key string) string + func (bm BodyMap) JsonBody() (jb string) + func (bm BodyMap) MarshalXML(e *xml.Encoder, start xml.StartElement) (err error) + func (bm BodyMap) Remove(key string) + func (bm BodyMap) Reset() + func (bm BodyMap) Set(key string, value any) BodyMap + func (bm BodyMap) SetBodyMap(key string, value func(b BodyMap)) BodyMap + func (bm BodyMap) SetFormFile(key string, file *util.File) BodyMap + func (bm BodyMap) Unmarshal(ptr any) (err error) + type DebugSwitch int8