Documentation
¶
Index ¶
- Constants
- type AllowCreateModelIndustry
- type AllowCreateModelObject
- type AllowCreateModelShortLink
- type AllowCreateModelTag
- type AllowUpdateModelIndustry
- type AllowUpdateModelObject
- type AllowUpdateModelShortLink
- type AllowUpdateModelTag
- type AllowUpdateStatusModelIndustry
- type AllowUpdateStatusModelObject
- type AllowUpdateStatusModelShortLink
- type AllowUpdateStatusModelTag
- type ApiCaptchaGenerateReq
- type ApiCaptchaGenerateResp
- type ApiCaptchaGenerateRespData
- type ApiSmsSendReq
- type ApiSmsSendResp
- type BehavioralVerificationInitReq
- type BehavioralVerificationInitResp
- type BehavioralVerificationVerifyReq
- type BehavioralVerificationVerifyResp
- type BootstrapReq
- type BootstrapResp
- type CodesReq
- type CodesResp
- type CreateExistBucketAndConfigReq
- type CreateExistBucketAndConfigResp
- type CreateExistBucketNoConfigReq
- type CreateExistBucketNoConfigResp
- type CtasPeriodicJobAddReq
- type CtasPeriodicJobAddResp
- type CtasPeriodicJobRemoveReq
- type CtasPeriodicJobRemoveResp
- type EncryptReq
- type EncryptResp
- type GetIpMyReq
- type GetIpQueryReq
- type GetIpQueryResp
- type GetRedirectResultReq
- type GetRedirectResultResp
- type HealthzResp
- type IndustryApiCreateResp
- type IndustryApiFormIdReq
- type IndustryApiJsonIdReq
- type IndustryApiJsonIdsReq
- type IndustryApiOKResp
- type IndustryCommonQueryListResp
- type IndustryCommonSearchParams
- type IpWhiteReq
- type IpWhiteResp
- type KmsAkcCreateKeychainReq
- type KmsAkcCreateKeychainResp
- type KmsAkcGetKeychainPublicKeyReq
- type KmsAkcGetKeychainPublicKeyResp
- type KmsAkcSignReq
- type KmsAkcSignResp
- type KmsAkcVerifyReq
- type KmsAkcVerifyResp
- type KmsSkcBatchDecryptReq
- type KmsSkcBatchDecryptReqItem
- type KmsSkcBatchDecryptResp
- type KmsSkcBatchDecryptRespItem
- type KmsSkcBatchEncryptReq
- type KmsSkcBatchEncryptReqItem
- type KmsSkcBatchEncryptResp
- type KmsSkcBatchEncryptRespItem
- type KmsSkcCompareItem
- type KmsSkcCompareReq
- type KmsSkcCompareResp
- type KmsSkcCompareRespData
- type KmsSkcCompareRespDataItem
- type KmsSkcCreateKeychainReq
- type KmsSkcCreateKeychainResp
- type KmsSkcDecryptReq
- type KmsSkcDecryptResp
- type KmsSkcEncryptReq
- type KmsSkcEncryptResp
- type ModelClient
- type ModelCode
- type ModelIndustry
- type ModelJwk
- type ModelObject
- type ModelShortLink
- type ModelTag
- type ModelZone
- type NotFoundResp
- type NotFoundpReq
- type ObjectApiCreateResp
- type ObjectApiFormIdReq
- type ObjectApiJsonIdReq
- type ObjectApiJsonIdsReq
- type ObjectApiOKResp
- type ObjectApiQueryWhreObjectIdReq
- type ObjectCommonQueryListResp
- type ObjectCommonSearchParams
- type PublicGetIpReq
- type PublicGetIpResp
- type SasPresignerGetObjectReq
- type SasPresignerGetObjectResp
- type SasPresignerHeadObjectReq
- type SasPresignerHeadObjectResp
- type SasPresignerUploadReq
- type SasPresignerUploadResp
- type SasQueryBucketReq
- type SasQueryBucketResp
- type ShortLinkApiCreateResp
- type ShortLinkApiFormIdReq
- type ShortLinkApiFormKeyReq
- type ShortLinkApiJsonIdReq
- type ShortLinkApiJsonIdsReq
- type ShortLinkApiOKResp
- type ShortLinkCommonQueryListResp
- type ShortLinkCommonSearchParams
- type SmsInitReq
- type SmsInitResp
- type SmsVerifyReq
- type SmsVerifyResp
- type TagApiCreateResp
- type TagApiFormIdReq
- type TagApiJsonIdReq
- type TagApiJsonIdsReq
- type TagApiOKResp
- type TagCommonQueryListResp
- type TagCommonSearchParams
- type TpasWechatJobWebhookReq
- type TpasWechatJobWebhookResp
- type UpsBaseBootstrapReq
- type UpsBaseBootstrapResp
- type ViewNotFoundReq
- type ViewNotFoundResp
- type ViewShortLinkReq
- type ViewShortLinkResp
- type WechatForceRefreshOffiaccountAccessTokenReq
- type WechatForceRefreshOffiaccountAccessTokenResp
- type WechatOffiaccountCode2TokenReq
- type WechatOffiaccountCode2TokenResp
- type WechatOffiaccountGenRedirectUrlReq
- type WechatOffiaccountGenRedirectUrlResp
- type WechatOffiaccountGenShareConfigReq
- type WechatOffiaccountGenShareConfigResp
- type WechatOffiaccountGetAccessTokenReq
- type WechatOffiaccountGetAccessTokenResp
- type WechatOffiaccountGetJsApiTicketReq
- type WechatOffiaccountGetJsApiTicketResp
- type ZonesReq
- type ZonesResp
Constants ¶
View Source
const ( ProtocolHttp = "http" ProtocolHttps = "https" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowCreateModelIndustry ¶
type AllowCreateModelIndustry struct {
Name string `json:"name"` // 名称
Qualification string `json:"qualification"` // 资质要求
QualificationLink string `json:"qualification_link,optional"` // 资质要求,法律依据及示例的说明链接
CategoryScope string `json:"category_scope"` // 类目适用范围
Remark string `json:"remark,optional"` // 备注
ParentId uint32 `json:"parent_id,optional"`
Sort int64 `json:"sort,optional"`
}
type AllowCreateModelObject ¶ added in v1.0.8
type AllowCreateModelTag ¶
type AllowUpdateModelIndustry ¶
type AllowUpdateModelIndustry struct {
Id uint32 `json:"id"`
Name string `json:"name,optional"` // 名称
Qualification string `json:"qualification,optional"` // 资质要求
QualificationLink string `json:"qualification_link"` // 资质要求,法律依据及示例的说明链接
CategoryScope string `json:"category_scope,optional"` // 类目适用范围
Remark string `json:"remark"` // 备注
ParentId uint32 `json:"parent_id"`
Sort int64 `json:"sort,optional"`
}
type AllowUpdateModelObject ¶ added in v1.0.8
type AllowUpdateModelTag ¶
type AllowUpdateStatusModelObject ¶ added in v1.0.8
type ApiCaptchaGenerateReq ¶
type ApiCaptchaGenerateResp ¶
type ApiSmsSendReq ¶
type ApiSmsSendResp ¶
type ApiSmsSendResp struct {
RequestID string `json:"requestId"`
}
type BehavioralVerificationVerifyResp ¶
type BehavioralVerificationVerifyResp struct {
Result bool `json:"result"`
}
type BootstrapReq ¶
type BootstrapResp ¶
type BootstrapResp struct {
}
type CreateExistBucketAndConfigReq ¶
type CreateExistBucketAndConfigReq struct {
ConfigKey string `json:"config_key,optional"`
StorageType string `json:"storage_type"`
AppId string `json:"app_id,optional"`
AccessKey string `json:"access_key"`
AccessSecret string `json:"access_secret"`
BucketKey string `json:"bucket_key,optional"`
Name string `json:"name"`
Region string `json:"region"`
IsAccelerate int32 `json:"is_accelerate"`
Prefix string `json:"prefix"`
StaticDomain string `json:"static_domain"`
CdnDomain string `json:"cdn_domain"`
}
type CreateExistBucketAndConfigResp ¶
type CreateExistBucketAndConfigResp struct {
}
type CreateExistBucketNoConfigReq ¶
type CreateExistBucketNoConfigReq struct {
ConfigKey string `json:"config_key,optional"`
BucketKey string `json:"bucket_key,optional"`
Name string `json:"name"`
Region string `json:"region"`
IsAccelerate int32 `json:"is_accelerate"`
Prefix string `json:"prefix"`
StaticDomain string `json:"static_domain"`
CdnDomain string `json:"cdn_domain"`
}
type CreateExistBucketNoConfigResp ¶
type CreateExistBucketNoConfigResp struct {
}
type CtasPeriodicJobAddReq ¶ added in v1.0.5
type CtasPeriodicJobAddResp ¶ added in v1.0.5
type CtasPeriodicJobAddResp struct {
Id uint `json:"id"`
}
type CtasPeriodicJobRemoveReq ¶ added in v1.0.5
type CtasPeriodicJobRemoveReq struct {
Id uint `json:"id"`
}
type CtasPeriodicJobRemoveResp ¶ added in v1.0.5
type CtasPeriodicJobRemoveResp struct {
}
type EncryptReq ¶
type EncryptReq struct {
Data string `json:"data"`
}
type EncryptResp ¶
type EncryptResp struct {
Data string `json:"data"`
}
type GetIpMyReq ¶ added in v1.0.5
type GetIpMyReq struct {
}
type GetIpQueryReq ¶ added in v1.0.5
type GetIpQueryReq struct {
Ip string `form:"ip"`
}
type GetIpQueryResp ¶ added in v1.0.5
type GetIpQueryResp struct {
IP string `json:"ip"` // IP地址
IPHash string `json:"ipHash"` // IPHash
Port string `json:"port"` // Port
UserAgent string `json:"userAgent"` // UserAgent
CityId int64 `json:"cityId"` // CityId
Country string `json:"country"` // Country
Region string `json:"region"` // Region
Province string `json:"province"` // Province
City string `json:"city"` // City
ISP string `json:"isp"` // ISP
}
type GetRedirectResultReq ¶
type GetRedirectResultReq struct {
ShortId string `json:"short_id"`
}
type GetRedirectResultResp ¶
type GetRedirectResultResp struct {
Url string `json:"url"`
}
type HealthzResp ¶
type HealthzResp struct {
}
type IndustryApiCreateResp ¶
type IndustryApiCreateResp struct {
Id uint32 `json:"id"`
}
type IndustryApiFormIdReq ¶
type IndustryApiFormIdReq struct {
Id uint32 `form:"id"`
}
type IndustryApiJsonIdReq ¶
type IndustryApiJsonIdReq struct {
Id uint32 `json:"id"`
}
type IndustryApiJsonIdsReq ¶
type IndustryApiJsonIdsReq struct {
Ids []uint32 `json:"ids"`
}
type IndustryApiOKResp ¶
type IndustryApiOKResp struct {
}
type IndustryCommonQueryListResp ¶
type IndustryCommonQueryListResp struct {
List []ModelIndustry `json:"list"`
Total int64 `json:"total"`
Page int32 `json:"page"`
PageSize int32 `json:"page_size"`
}
type IndustryCommonSearchParams ¶
type IndustryCommonSearchParams struct {
Page int32 `json:"page,optional"`
PageSize int32 `json:"page_size,optional"`
StartCreatedAt int64 `json:"start_created_at,optional"`
EndCreatedAt int64 `json:"end_created_at,optional"`
Keyword string `json:"keyword,optional"`
Status int32 `json:"status,optional"`
ParentId uint32 `json:"parent_id,optional"`
OnlyParent bool `json:"only_parent,optional"` // 是否只查询父级行业
}
type IpWhiteReq ¶
type IpWhiteResp ¶
type IpWhiteResp struct {
}
type KmsAkcCreateKeychainReq ¶
type KmsAkcSignReq ¶
type KmsAkcSignResp ¶
type KmsAkcVerifyReq ¶
type KmsAkcVerifyResp ¶
type KmsSkcBatchDecryptReq ¶
type KmsSkcBatchDecryptReq struct {
Data map[string]KmsSkcBatchDecryptReqItem `json:"data"`
}
type KmsSkcBatchDecryptResp ¶
type KmsSkcBatchDecryptResp struct {
Data map[string]KmsSkcBatchDecryptRespItem `json:"data"`
}
type KmsSkcBatchEncryptReq ¶
type KmsSkcBatchEncryptReq struct {
Data map[string]KmsSkcBatchEncryptReqItem `json:"data"`
}
type KmsSkcBatchEncryptResp ¶
type KmsSkcBatchEncryptResp struct {
Data map[string]KmsSkcBatchEncryptRespItem `json:"data"`
}
type KmsSkcCompareItem ¶
type KmsSkcCompareReq ¶
type KmsSkcCompareReq struct {
List []KmsSkcCompareItem `json:"list"`
}
type KmsSkcCompareResp ¶
type KmsSkcCompareResp struct {
Status string `json:"status"`
CompareData bool `json:"compare_data"`
List []KmsSkcCompareRespDataItem `json:"list"`
}
type KmsSkcCompareRespData ¶
type KmsSkcCompareRespData struct {
Status string `json:"status"`
CompareData bool `json:"compare_data"`
List []KmsSkcCompareRespDataItem `json:"list"`
}
type KmsSkcCreateKeychainReq ¶
type KmsSkcDecryptReq ¶
type KmsSkcDecryptResp ¶
type KmsSkcEncryptReq ¶
type KmsSkcEncryptResp ¶
type ModelClient ¶ added in v1.0.5
type ModelClient struct {
IP string `json:"ip"` // IP地址
IPHash string `json:"ipHash"` // IPHash
Port string `json:"port"` // Port
UserAgent string `json:"userAgent"` // UserAgent
CityId int64 `json:"cityId"` // CityId
Country string `json:"country"` // Country
Region string `json:"region"` // Region
Province string `json:"province"` // Province
City string `json:"city"` // City
ISP string `json:"isp"` // ISP
UserAgentFamily string `json:"userAgentFamily"` // UserAgentFamily
UserAgentMajor string `json:"userAgentMajor"` // UserAgentMajor
UserAgentMinor string `json:"userAgentMinor"` // UserAgentMinor
UserAgentPatch string `json:"userAgentPatch"` // UserAgentPatch
OsFamily string `json:"osFamily"` // OsFamily
OsMajor string `json:"osMajor"` // OsMajor
OsMinor string `json:"osMinor"` // OsMinor
OsPatch string `json:"osPatch"` // OsPatch
OsPatchMinor string `json:"osPatchMinor"` // OsPatchMinor
DeviceFamily string `json:"deviceFamily"` // DeviceFamily
DeviceBrand string `json:"deviceBrand"` // DeviceBrand
DeviceModel string `json:"deviceModel"` // DeviceModel
}
type ModelIndustry ¶
type ModelIndustry struct {
Id uint32 `json:"id"`
CreatedAtUnix int64 `json:"created_at_unix"`
UpdatedAtUnix int64 `json:"updated_at_unix"`
Status int32 `json:"status"` // 状态
Name string `json:"name"` // 名称
Qualification string `json:"qualification"` // 资质要求
QualificationLink string `json:"qualification_link"` // 资质要求,法律依据及示例的说明链接
CategoryScope string `json:"category_scope"` // 类目适用范围
Remark string `json:"remark"` // 备注
ParentId uint32 `json:"parent_id"`
Sort int64 `json:"sort"`
}
type ModelJwk ¶ added in v1.0.15
type ModelJwk struct {
Kty string `json:"kty,omitempty"`
Alg string `json:"alg,omitempty"`
Use string `json:"use,omitempty"`
Kid string `json:"kid,omitempty"`
N string `json:"n,omitempty"`
E string `json:"e,omitempty"`
X string `json:"x,omitempty"`
Y string `json:"y,omitempty"`
Crv string `json:"crv,omitempty"`
}
type ModelObject ¶ added in v1.0.8
type ModelShortLink ¶
type ModelShortLink struct {
Id uint32 `json:"id"`
CreatedAtUnix int64 `json:"created_at_unix"`
UpdatedAtUnix int64 `json:"updated_at_unix"`
Key string `json:"key"`
OriginalUrl string `json:"original_url"`
SlType int32 `json:"sl_type"`
ExpireAtUnix int64 `json:"expire_at_unix"`
CreatorUserId string `json:"creator_user_id"`
}
type NotFoundResp ¶
type NotFoundResp struct {
}
type NotFoundpReq ¶
type NotFoundpReq struct {
}
type ObjectApiCreateResp ¶ added in v1.0.8
type ObjectApiFormIdReq ¶ added in v1.0.8
type ObjectApiFormIdReq struct {
Id uint32 `form:"id"`
}
type ObjectApiJsonIdReq ¶ added in v1.0.8
type ObjectApiJsonIdReq struct {
Id uint32 `json:"id"`
}
type ObjectApiJsonIdsReq ¶ added in v1.0.8
type ObjectApiJsonIdsReq struct {
Ids []uint32 `json:"ids"`
}
type ObjectApiOKResp ¶ added in v1.0.8
type ObjectApiOKResp struct {
}
type ObjectApiQueryWhreObjectIdReq ¶ added in v1.0.8
type ObjectApiQueryWhreObjectIdReq struct {
ObjectId string `form:"object_id"`
}
type ObjectCommonQueryListResp ¶ added in v1.0.8
type ObjectCommonQueryListResp struct {
List []ModelObject `json:"list"`
Total int64 `json:"total"`
Page int32 `json:"page"`
PageSize int32 `json:"page_size"`
}
type ObjectCommonSearchParams ¶ added in v1.0.8
type ObjectCommonSearchParams struct {
Page int32 `json:"page,optional"`
PageSize int32 `json:"page_size,optional"`
StartCreatedAt int64 `json:"start_created_at,optional"`
EndCreatedAt int64 `json:"end_created_at,optional"`
Keyword string `json:"keyword,optional"`
Status int32 `json:"status,optional"`
}
type PublicGetIpReq ¶ added in v1.0.5
type PublicGetIpReq struct {
}
type PublicGetIpResp ¶ added in v1.0.5
type PublicGetIpResp struct {
Ip string `json:"ip"` // note: 返回自身ip
}
type SasPresignerUploadReq ¶
type SasPresignerUploadResp ¶
type SasQueryBucketReq ¶
type SasQueryBucketReq struct {
BucketKey string `json:"bucket_key,optional"`
}
type SasQueryBucketResp ¶
type SasQueryBucketResp struct {
Name string `json:"name"`
Prefix string `json:"prefix"`
Region string `json:"region"`
BucketInternetDomain string `json:"bucket_internet_domain"`
BucketInternalDomain string `json:"bucket_internal_domain"`
IsAccelerate int32 `json:"is_accelerate"`
BucketAccelerateDomain string `json:"bucket_accelerate_domain"`
StaticDomain string `json:"static_domain"`
CdnDomain string `json:"cdn_domain"`
}
type ShortLinkApiCreateResp ¶
type ShortLinkApiFormIdReq ¶
type ShortLinkApiFormIdReq struct {
Id uint32 `form:"id"`
}
type ShortLinkApiFormKeyReq ¶
type ShortLinkApiFormKeyReq struct {
Key string `form:"key"`
}
type ShortLinkApiJsonIdReq ¶
type ShortLinkApiJsonIdReq struct {
Id uint32 `json:"id"`
}
type ShortLinkApiJsonIdsReq ¶
type ShortLinkApiJsonIdsReq struct {
Ids []uint32 `json:"ids"`
}
type ShortLinkApiOKResp ¶
type ShortLinkApiOKResp struct {
}
type ShortLinkCommonQueryListResp ¶
type ShortLinkCommonQueryListResp struct {
List []ModelShortLink `json:"list"`
Total int64 `json:"total"`
Page int32 `json:"page"`
PageSize int32 `json:"page_size"`
}
type ShortLinkCommonSearchParams ¶
type ShortLinkCommonSearchParams struct {
Page int32 `json:"page,optional"`
PageSize int32 `json:"page_size,optional"`
StartCreatedAt int64 `json:"start_created_at,optional"`
EndCreatedAt int64 `json:"end_created_at,optional"`
Keyword string `json:"keyword,optional"`
Status int32 `json:"status,optional"`
}
type SmsInitReq ¶
type SmsInitResp ¶
type SmsInitResp struct {
Status string `json:"status"`
}
type SmsVerifyReq ¶
type SmsVerifyResp ¶
type SmsVerifyResp struct {
Result bool `json:"result"`
}
type TagApiCreateResp ¶
type TagApiCreateResp struct {
Id uint32 `json:"id"`
}
type TagApiFormIdReq ¶
type TagApiFormIdReq struct {
Id uint32 `form:"id"`
}
type TagApiJsonIdReq ¶
type TagApiJsonIdReq struct {
Id uint32 `json:"id"`
}
type TagApiJsonIdsReq ¶
type TagApiJsonIdsReq struct {
Ids []uint32 `json:"ids"`
}
type TagApiOKResp ¶
type TagApiOKResp struct {
}
type TagCommonQueryListResp ¶
type TagCommonSearchParams ¶
type TagCommonSearchParams struct {
Page int32 `json:"page,optional"`
PageSize int32 `json:"page_size,optional"`
StartCreatedAt int64 `json:"start_created_at,optional"`
EndCreatedAt int64 `json:"end_created_at,optional"`
Keyword string `json:"keyword,optional"`
Status int32 `json:"status,optional"`
PrefixKeyword string `json:"prefix_keyword,optional"`
}
type TpasWechatJobWebhookReq ¶
type TpasWechatJobWebhookResp ¶
type TpasWechatJobWebhookResp struct {
}
type UpsBaseBootstrapReq ¶
type UpsBaseBootstrapReq struct {
}
type UpsBaseBootstrapResp ¶
type UpsBaseBootstrapResp struct {
}
type ViewNotFoundReq ¶
type ViewNotFoundReq struct {
}
type ViewNotFoundResp ¶
type ViewNotFoundResp struct {
}
type ViewShortLinkReq ¶
type ViewShortLinkResp ¶
type ViewShortLinkResp struct {
}
type WechatForceRefreshOffiaccountAccessTokenReq ¶ added in v1.0.5
type WechatForceRefreshOffiaccountAccessTokenReq struct {
Key string `json:"key"`
}
type WechatForceRefreshOffiaccountAccessTokenResp ¶ added in v1.0.5
type WechatForceRefreshOffiaccountAccessTokenResp struct {
}
type WechatOffiaccountCode2TokenReq ¶ added in v1.0.6
type WechatOffiaccountCode2TokenResp ¶ added in v1.0.6
type WechatOffiaccountCode2TokenResp struct {
AccessToken string `json:"access_token"`
ExpiresIn int64 `json:"expires_in"`
RefreshToken string `json:"refresh_token"`
Openid string `json:"openid"`
Scope string `json:"scope"`
IsSnapshotuser int32 `json:"is_snapshotuser"`
Unionid string `json:"unionid"`
Errcode int32 `json:"errcode,omitempty"`
Errmsg string `json:"errmsg,omitempty"`
}
type WechatOffiaccountGenRedirectUrlReq ¶ added in v1.0.5
type WechatOffiaccountGenRedirectUrlResp ¶ added in v1.0.5
type WechatOffiaccountGenShareConfigReq ¶ added in v1.0.5
type WechatOffiaccountGenShareConfigReq struct {
}
type WechatOffiaccountGenShareConfigResp ¶ added in v1.0.5
type WechatOffiaccountGenShareConfigResp struct {
}
type WechatOffiaccountGetAccessTokenReq ¶ added in v1.0.5
type WechatOffiaccountGetAccessTokenReq struct {
Key string `json:"key,optional"`
}
type WechatOffiaccountGetAccessTokenResp ¶ added in v1.0.5
type WechatOffiaccountGetJsApiTicketReq ¶ added in v1.0.5
type WechatOffiaccountGetJsApiTicketReq struct {
Key string `json:"key,optional"`
}
type WechatOffiaccountGetJsApiTicketResp ¶ added in v1.0.5
Click to show internal directories.
Click to hide internal directories.