secret

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: GPL-3.0 Imports: 3 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"`
}

func (SecretApiReportGetResponse) Error added in v1.1.1

func (SecretApiReportGetResponse) IsError added in v1.1.1

func (r SecretApiReportGetResponse) IsError() bool

type SecretApiReportResponse

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

func (SecretApiReportResponse) Error added in v1.1.1

func (r SecretApiReportResponse) Error() string

func (SecretApiReportResponse) IsError added in v1.1.1

func (r SecretApiReportResponse) IsError() bool

type SecretApiReportResult

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

func (SecretApiReportResult) Error added in v1.1.1

func (r SecretApiReportResult) Error() string

func (SecretApiReportResult) IsError added in v1.1.1

func (r SecretApiReportResult) IsError() bool

Jump to

Keyboard shortcuts

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