Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiConfig ¶
type ApiConfig struct {
BaseUrl string `comment:"Safeheron Request Base URL"`
ApiKey string `comment:"api key, you can get from safeheron web console"`
RsaPrivateKey string `comment:"Your RSA private key"`
SafeheronRsaPublicKey string `comment:"Api key's platform public key, you can get from safeheron web console"`
RequestTimeout int64 `comment:"RequestTimeout (Millisecond)"`
}
type SafeheronResponse ¶
type SafeheronResponse struct {
Code int64 `form:"code" json:"code"`
Message string `form:"message" json:"message"`
Sig string `form:"sig" json:"sig"`
Key string `form:"key" json:"key"`
BizContent string `form:"bizContent" json:"bizContent"`
Timestamp string `form:"timestamp" json:"timestamp"`
RsaType string `form:"rsaType" json:"rsaType"`
AesType string `form:"aesType" json:"aesType"`
}
Click to show internal directories.
Click to hide internal directories.