Documentation ¶
Index ¶
Constants ¶
View Source
const ( // 签名公共字段: SignPublicKeyName = "public_key" // 字段名: 公钥 SignPrivateKeyName = "private_key" // 字段名: 私钥 SignNonceName = "nonce" // 字段名: 随机串 SignTimestampName = "ts" // 字段名: 时间戳 SignTypeName = "sign_type" // 字段名: 签名算法类型 SignResultName = "sign" // 字段名: 签名结果 // 签名算法类型: SignMD5 = "md5" // md5 SignSHA256 = "sha256" // sha256 SignSHA512 = "sha512" // sha512 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateKeyFunc ¶
get appSecret/privateKey by appKey/publicKey
Click to show internal directories.
Click to hide internal directories.