secret

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SecretApiReportGet

func SecretApiReportGet(req *SecretApiReportGetRequest) error

对加解密等调用信息上报,不包含敏感信息,只负责统计系统性能

Types

type SecretApiReportGetRequest

type SecretApiReportGetRequest struct {
	api.BaseRequest
	AccessToken    string `json:"access_token,omitempty" codec:"access_token,omitempty"`
	CustomerUserId string `json:"customer_user_id,omitempty" codec:"customer_user_id,omitempty"`
	BusinessId     string `json:"businessId,omitempty" codec:"businessId,omitempty"`
	Text           string `json:"text,omitempty" codec:"text,omitempty"`
	Attribute      string `json:"attribute,omitempty" codec:"attribute,omitempty"`
	ServerUrl      string `json:"server_url,omitempty" codec:"server_url,omitempty"`
}

type SecretApiReportGetResponse

type SecretApiReportGetResponse struct {
	ErrorResp *api.ErrorResponnse      `json:"error_response,omitempty" codec:"error_response,omitempty"`
	Response  *SecretApiReportResponse `json:"jingdong_jos_secret_api_report_get_responce,omitempty" codec:"jingdong_jos_secret_api_report_get_responce,omitempty"`
}

type SecretApiReportResponse

type SecretApiReportResponse struct {
	Result SecretApiReportResult `json:"response,omitempty" codec:"response,omitempty"`
}

type SecretApiReportResult

type SecretApiReportResult struct {
	Code      int    `json:"errorCode,omitempty" codec:"errorCode,omitempty"`
	ErrorDesc string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"`
}

Jump to

Keyboard shortcuts

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