Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MasterKeyGet ¶
获取数据解密的密钥
Types ¶
type MasterKeyGetRequest ¶
type MasterKeyGetResponse ¶
type MasterKeyGetResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Response *MasterKeyResponse `json:"jingdong_jos_master_key_get_responce,omitempty" codec:"jingdong_jos_master_key_get_responce,omitempty"` }
func (MasterKeyGetResponse) Error ¶ added in v1.1.1
func (r MasterKeyGetResponse) Error() string
func (MasterKeyGetResponse) IsError ¶ added in v1.1.1
func (r MasterKeyGetResponse) IsError() bool
type MasterKeyResponse ¶
type MasterKeyResponse struct {
Result *MasterKeyResult `json:"response,omitempty" codec:"response,omitempty"`
}
func (MasterKeyResponse) Error ¶ added in v1.1.1
func (r MasterKeyResponse) Error() string
func (MasterKeyResponse) IsError ¶ added in v1.1.1
func (r MasterKeyResponse) IsError() bool
type MasterKeyResult ¶
type MasterKeyResult struct { Code int `json:"status_code,omitempty" codec:"status_code,omitempty"` ErrorDesc string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"` Tid string `json:"tid,omitempty" codec:"tid,omitempty"` Ts int64 `json:"ts,omitempty" codec:"ts,omitempty"` EncService string `json:"enc_service,omitempty" codec:"enc_service,omitempty"` KeyCacheDisabled int `json:"key_cache_disabled,omitempty" codec:"key_cache_disabled,omitempty"` KeyBackupDisabled int `json:"key_backup_disabled,omitempty" codec:"key_backup_disabled,omitempty"` ServiceKeyList []crypto.KeyStore `json:"service_key_list,omitempty" codec:"service_key_list,omitempty"` }
func (MasterKeyResult) Error ¶ added in v1.1.1
func (r MasterKeyResult) Error() string
func (MasterKeyResult) IsError ¶ added in v1.1.1
func (r MasterKeyResult) IsError() bool
Click to show internal directories.
Click to hide internal directories.