b2bcert

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package b2bcert 包含b2b认证平台api相关结构体

https://open.taobao.com/API.htm?docType=2&docId=32288

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaAuthCertGetAPIRequest added in v1.3.4

func ReleaseAlibabaAuthCertGetAPIRequest(v *AlibabaAuthCertGetAPIRequest)

ReleaseAlibabaAuthCertGetAPIRequest 将 AlibabaAuthCertGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaAuthCertGetAPIResponse added in v1.3.4

func ReleaseAlibabaAuthCertGetAPIResponse(v *AlibabaAuthCertGetAPIResponse)

ReleaseAlibabaAuthCertGetAPIResponse 将 AlibabaAuthCertGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaAuthCertGetResponse added in v1.3.4

func ReleaseAlibabaAuthCertGetResponse(v *AlibabaAuthCertGetResponse)

ReleaseAlibabaAuthCertGetResponse 释放AlibabaAuthCertGetResponse

Types

type AlibabaAuthCertGetAPIRequest added in v1.2.0

type AlibabaAuthCertGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaAuthCertGetAPIRequest 获取证书数据 API请求 alibaba.auth.cert.get

获取证书数据

func GetAlibabaAuthCertGetAPIRequest added in v1.3.4

func GetAlibabaAuthCertGetAPIRequest() *AlibabaAuthCertGetAPIRequest

GetAlibabaAuthCertGetRequest 从 sync.Pool 获取 AlibabaAuthCertGetAPIRequest

func NewAlibabaAuthCertGetRequest

func NewAlibabaAuthCertGetRequest() *AlibabaAuthCertGetAPIRequest

NewAlibabaAuthCertGetRequest 初始化AlibabaAuthCertGetAPIRequest对象

func (AlibabaAuthCertGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAuthCertGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAuthCertGetAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaAuthCertGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAuthCertGetAPIRequest) GetProvider added in v1.2.0

func (r AlibabaAuthCertGetAPIRequest) GetProvider() string

GetProvider Provider Getter

func (AlibabaAuthCertGetAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaAuthCertGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaAuthCertGetAPIRequest) GetReceiveInfo added in v1.2.0

func (r AlibabaAuthCertGetAPIRequest) GetReceiveInfo() string

GetReceiveInfo ReceiveInfo Getter

func (*AlibabaAuthCertGetAPIRequest) Reset added in v1.3.4

func (r *AlibabaAuthCertGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*AlibabaAuthCertGetAPIRequest) SetProvider added in v1.2.0

func (r *AlibabaAuthCertGetAPIRequest) SetProvider(_provider string) error

SetProvider is Provider Setter 认证商

func (*AlibabaAuthCertGetAPIRequest) SetReceiveInfo added in v1.2.0

func (r *AlibabaAuthCertGetAPIRequest) SetReceiveInfo(_receiveInfo string) error

SetReceiveInfo is ReceiveInfo Setter 证书数据

type AlibabaAuthCertGetAPIResponse

type AlibabaAuthCertGetAPIResponse struct {
	model.CommonResponse
	AlibabaAuthCertGetAPIResponseModel
}

AlibabaAuthCertGetAPIResponse 获取证书数据 API返回值 alibaba.auth.cert.get

获取证书数据

func GetAlibabaAuthCertGetAPIResponse added in v1.3.4

func GetAlibabaAuthCertGetAPIResponse() *AlibabaAuthCertGetAPIResponse

GetAlibabaAuthCertGetAPIResponse 从 sync.Pool 获取 AlibabaAuthCertGetAPIResponse

func (*AlibabaAuthCertGetAPIResponse) Reset added in v1.3.4

func (m *AlibabaAuthCertGetAPIResponse) Reset()

Reset 清空结构体

type AlibabaAuthCertGetAPIResponseModel added in v1.2.0

type AlibabaAuthCertGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_auth_cert_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlibabaAuthCertGetResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAuthCertGetAPIResponseModel is 获取证书数据 成功返回结果

func (*AlibabaAuthCertGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaAuthCertGetResponse

type AlibabaAuthCertGetResponse struct {
	// data
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// msg
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaAuthCertGetResponse 结构体

func GetAlibabaAuthCertGetResponse added in v1.3.4

func GetAlibabaAuthCertGetResponse() *AlibabaAuthCertGetResponse

GetAlibabaAuthCertGetResponse() 从对象池中获取AlibabaAuthCertGetResponse

Jump to

Keyboard shortcuts

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