Documentation ¶
Index ¶
- type APDataSetList
- type APMethodWithAp
- type AddNewOuterTaskReq
- type AddNewOuterTaskReqData
- type AddTask
- type AddUserBasicInfoReq
- type AlgorithmProvider
- type AlgorithmProviderMethodWhere
- type AlgorithmProviderWhere
- type ApDataSetInfo
- type ApDataSetRes
- type ApInfoRes
- type ApplicationInfo
- type ApplicationInfoReq
- type BindAddress
- type ChainAddress
- type ClaimNFTRecord
- type ClaimNFTRecordsResp
- type ClaimNFTResponse
- type ClaimNFTWhere
- type ClientHello
- type ClientResponse
- type DPAndMethod
- type DPDataSetList
- type DPMethodWithDp
- type DataProvider
- type DataProviderMethodWhere
- type DataProviderWhere
- type DpDataSetInfo
- type DpDataSetRes
- type DpInfoRes
- type GenNFTCountResp
- type GenReputationCountResp
- type GetAllAlgorithmProviderMethodsResp
- type GetAllAlgorithmProvidersReq
- type GetAllAlgorithmProvidersResp
- type GetAllDataProviderMethodsResp
- type GetAllDataProviders
- type GetUserTasksResp
- type GetUserTasksWhere
- type LabelsInfo
- type LabelsInfos
- type Login
- type MethodDetail
- type MethodInfo
- type NFTClaimedCountResp
- type NFTParam
- type NFTSetting
- type NFTSettingResp
- type NFTSettingWhere
- type NftLeadBoardWhere
- type OuterTaskReq
- type OuterTaskReqData
- type PriceInfo
- type Proof
- type ProviderMethod
- type RefreshTokenInput
- type RequestOscoreData
- type RequestOscoreReq
- type SNSBindingData
- type SNSBindingDataWithSig
- type SNSBindingResp
- type ServerHello
- type ServerInfo
- type SigResp
- type SnapShotOptions
- type StrategyResult
- type SubmitApInfo
- type SubmitDpInfo
- type ThirdPartyVcStatus
- type TokenPrice
- type UnBindAddress
- type UpdateUserBasicInfoReq
- type UserAddressInfo
- type UserAsset
- type UserBasicInfo
- type UserBasicInfoResp
- type UserClaimedNFTResp
- type UserClaimedNFTWhere
- type UserClaimedNft
- type UserCredential
- type UserCredentials
- type UserCredntialWhere
- type UserLatestOscore
- type UserTasks
- type UserWallet
- type VCFilter
- type WalletInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APDataSetList ¶
type APDataSetList struct { ApDataSetData []*ApDataSetRes `json:"apDataSetData"` CurPageNum int64 `json:"curPageNum"` TotalNum int64 `json:"totalNum"` }
type APMethodWithAp ¶
type AddNewOuterTaskReq ¶
type AddNewOuterTaskReq struct { CallerDid string `json:"caller_did"` Data *AddNewOuterTaskReqData `json:"data"` Sig string `json:"sig"` }
type AddNewOuterTaskReqData ¶
type AddNewOuterTaskReqData struct { DpDid string `json:"dp_did"` DpMethod string `json:"dp_method"` ApDid string `json:"ap_did"` ApMethod string `json:"ap_method"` Wallet *WalletInfo `json:"wallet"` }
type AddUserBasicInfoReq ¶
type AlgorithmProvider ¶
type AlgorithmProvider struct { Name string `json:"name"` Type string `json:"type"` Introduction string `json:"introduction"` Did string `json:"did"` CreateTime int64 `json:"createTime"` Title string `json:"title"` Provider string `json:"provider"` InvokeFrequency int64 `json:"invokeFrequency"` APIState int64 `json:"apiState"` Author string `json:"author"` Popularity int64 `json:"popularity"` Delay int64 `json:"delay"` Icon string `json:"icon"` }
type AlgorithmProviderWhere ¶
type AlgorithmProviderWhere struct {
NameLike *string `json:"name_like"`
}
type ApDataSetInfo ¶
type ApDataSetInfo struct { DataSetID int64 `json:"dataSetID"` DataSetName string `json:"dataSetName"` DataSetMethodName string `json:"dataSetMethodName"` DataSetDesc string `json:"dataSetDesc"` HTTPMethod string `json:"httpMethod"` HTTPURL string `json:"httpURL"` Params string `json:"Params"` Labels *LabelsInfo `json:"Labels"` }
type ApDataSetRes ¶
type ApDataSetRes struct { DataSetID int64 `json:"dataSetID"` ApDid string `json:"apDid"` DataSetName string `json:"dataSetName"` DataSetMethodName string `json:"dataSetMethodName"` DataSetDesc string `json:"dataSetDesc"` HTTPMethod string `json:"httpMethod"` HTTPURL string `json:"httpURL"` Params string `json:"Params"` Status string `json:"Status"` ResDesc *string `json:"ResDesc"` Labels *LabelsInfos `json:"Labels"` }
type ApplicationInfo ¶
type ApplicationInfoReq ¶
type BindAddress ¶
type ChainAddress ¶
type ClaimNFTRecord ¶
type ClaimNFTRecord struct { TxHash string `json:"tx_hash"` Chain string `json:"chain"` ContractAddress string `json:"contract_address"` NftType int64 `json:"nft_type"` UserDid string `json:"user_did"` UserAddress string `json:"user_address"` CreateTime int64 `json:"create_time"` Result string `json:"result"` Score string `json:"score"` }
type ClaimNFTRecordsResp ¶
type ClaimNFTRecordsResp struct { Count int64 `json:"count"` Records []*ClaimNFTRecord `json:"records"` }
type ClaimNFTResponse ¶
type ClaimNFTWhere ¶
type ClientHello ¶
type ClientResponse ¶
type DPAndMethod ¶
type DPAndMethod struct { Dp *DataProvider `json:"dp"` Method *ProviderMethod `json:"method"` }
type DPDataSetList ¶
type DPDataSetList struct { DpDataSetData []*DpDataSetRes `json:"dpDataSetData"` CurPageNum int64 `json:"curPageNum"` TotalNum int64 `json:"totalNum"` }
type DPMethodWithDp ¶
type DataProvider ¶
type DataProvider struct { Name string `json:"name"` Type string `json:"type"` Introduction string `json:"introduction"` Did string `json:"did"` CreateTime int64 `json:"createTime"` Title string `json:"title"` Provider string `json:"provider"` InvokeFrequency int64 `json:"invokeFrequency"` APIState int64 `json:"apiState"` Author string `json:"author"` Popularity int64 `json:"popularity"` Delay int64 `json:"delay"` Icon string `json:"icon"` }
type DataProviderMethodWhere ¶
type DataProviderWhere ¶
type DataProviderWhere struct {
NameLike *string `json:"name_like"`
}
type DpDataSetInfo ¶
type DpDataSetInfo struct { DataSetID int64 `json:"dataSetID"` DataSetName string `json:"dataSetName"` DataSetMethodName string `json:"dataSetMethodName"` DataSetDesc string `json:"dataSetDesc"` HTTPMethod string `json:"httpMethod"` HTTPURL string `json:"httpURL"` Params string `json:"Params"` Labels *LabelsInfo `json:"Labels"` }
type DpDataSetRes ¶
type DpDataSetRes struct { DataSetID int64 `json:"dataSetID"` DpDid string `json:"dpDid"` DataSetName string `json:"dataSetName"` DataSetMethodName string `json:"dataSetMethodName"` DataSetDesc string `json:"dataSetDesc"` HTTPMethod string `json:"httpMethod"` HTTPURL string `json:"httpURL"` Params string `json:"Params"` Status string `json:"Status"` ResDesc *string `json:"ResDesc"` Labels *LabelsInfos `json:"Labels"` }
type GenNFTCountResp ¶
type GenNFTCountResp struct {
Count int64 `json:"count"`
}
type GenReputationCountResp ¶
type GenReputationCountResp struct {
Count int64 `json:"count"`
}
type GetAllAlgorithmProviderMethodsResp ¶
type GetAllAlgorithmProviderMethodsResp struct { Total int64 `json:"total"` Data []*APMethodWithAp `json:"data"` }
type GetAllAlgorithmProvidersResp ¶
type GetAllAlgorithmProvidersResp struct { Total int64 `json:"total"` Data []*AlgorithmProvider `json:"data"` }
type GetAllDataProviderMethodsResp ¶
type GetAllDataProviderMethodsResp struct { Total int64 `json:"total"` Data []*DPMethodWithDp `json:"data"` }
type GetAllDataProviders ¶
type GetAllDataProviders struct { Total int64 `json:"total"` Data []*DataProvider `json:"data"` }
type GetUserTasksResp ¶
type GetUserTasksWhere ¶
type LabelsInfo ¶
type LabelsInfos ¶
type MethodDetail ¶
type MethodDetail struct { Did string `json:"did"` Method string `json:"method"` ParamSchema string `json:"paramSchema"` ResultSchema string `json:"resultSchema"` URL string `json:"url"` CompositeSetting string `json:"compositeSetting"` Param string `json:"param"` Name string `json:"name"` Description string `json:"description"` Invoked string `json:"invoked"` Latency string `json:"latency"` CreateTime string `json:"createTime"` HTTPMethod *string `json:"httpMethod"` CompositeData []*MethodDetail `json:"compositeData"` Labels *LabelsInfos `json:"labels"` Status string `json:"status"` }
type MethodInfo ¶
type MethodInfo struct { Did string `json:"did"` Title string `json:"title"` Data []*MethodDetail `json:"data"` }
type NFTClaimedCountResp ¶
type NFTSetting ¶
type NFTSetting struct { ID int64 `json:"id"` Name string `json:"name"` Description string `json:"description"` Image string `json:"image"` DpDid string `json:"dp_did"` DpMethod string `json:"dp_method"` ApDid string `json:"ap_did"` ApName string `json:"ap_name"` ApMethod string `json:"ap_method"` ApMethodName string `json:"ap_method_name"` LowestScore int64 `json:"lowest_score"` ValidDays int64 `json:"valid_days"` Restriction string `json:"restriction"` ChainAddresses []*ChainAddress `json:"chain_addresses"` IssueBy string `json:"issue_by"` }
type NFTSettingResp ¶
type NFTSettingResp struct { Count int64 `json:"count"` Records []*NFTSetting `json:"records"` }
type NFTSettingWhere ¶
type NFTSettingWhere struct {
ID *int64 `json:"id"`
}
type NftLeadBoardWhere ¶
type NftLeadBoardWhere struct {
NftType int64 `json:"nftType"`
}
type OuterTaskReq ¶
type OuterTaskReq struct { CallerDid string `json:"caller_did"` Data *OuterTaskReqData `json:"data"` Sig string `json:"sig"` }
type OuterTaskReqData ¶
type OuterTaskReqData struct {
TaskID int64 `json:"task_id"`
}
type ProviderMethod ¶
type ProviderMethod struct { Name string `json:"name"` ParamSchema string `json:"paramSchema"` ResultSchema string `json:"resultSchema"` Title string `json:"title"` Description string `json:"description"` Labels *LabelsInfos `json:"labels"` CreateTime int64 `json:"createTime"` NftType int64 `json:"nftType"` TotalUsed int64 `json:"totalUsed"` HasDataSet bool `json:"hasDataSet"` Status string `json:"status"` SupportMulti bool `json:"supportMulti"` }
type RefreshTokenInput ¶
type RefreshTokenInput struct {
Token string `json:"token"`
}
type RequestOscoreData ¶
type RequestOscoreReq ¶
type RequestOscoreReq struct { Appdid string `json:"appdid"` Data *RequestOscoreData `json:"data"` Sig string `json:"sig"` }
type SNSBindingData ¶
type SNSBindingDataWithSig ¶
type SNSBindingDataWithSig struct { Data *SNSBindingData `json:"data"` Sig string `json:"sig"` }
type SNSBindingResp ¶
type SNSBindingResp struct { Data *SNSBindingDataWithSig `json:"data"` Encrypted *string `json:"encrypted"` }
type ServerHello ¶
type ServerInfo ¶
type SnapShotOptions ¶
type StrategyResult ¶
type SubmitApInfo ¶
type SubmitDpInfo ¶
type ThirdPartyVcStatus ¶
type TokenPrice ¶
type UnBindAddress ¶
type UpdateUserBasicInfoReq ¶
type UserAddressInfo ¶
type UserBasicInfo ¶
type UserBasicInfoResp ¶
type UserClaimedNFTResp ¶
type UserClaimedNFTResp struct { Count int64 `json:"count"` Records []*UserClaimedNft `json:"records"` }
type UserClaimedNFTWhere ¶
type UserClaimedNft ¶
type UserClaimedNft struct { Owner string `json:"owner"` Score int64 `json:"score"` ValidTo int64 `json:"valid_to"` DpDid string `json:"dp_did"` DpTitle string `json:"dp_title"` DpMethod string `json:"dp_method"` DpMethodTitle string `json:"dp_method_title"` ApDid string `json:"ap_did"` ApTitle string `json:"ap_title"` ApMethod string `json:"ap_method"` ApMethodTitle string `json:"ap_method_title"` ValidDays int64 `json:"valid_days"` Image string `json:"image"` TxHash string `json:"tx_hash"` TokenID int64 `json:"token_id"` Name string `json:"name"` IssueBy string `json:"issue_by"` Chain string `json:"chain"` LowestScore int64 `json:"lowest_score"` Description string `json:"description"` ClaimTime int64 `json:"claim_time"` ContractAddress string `json:"contract_address"` NftType int64 `json:"nft_type"` NftScore int64 `json:"nft_score"` IsExpired bool `json:"is_expired"` }
type UserCredential ¶
type UserCredentials ¶
type UserCredentials struct { TotalCount int64 `json:"total_count"` Data []*UserCredential `json:"data"` }
type UserCredntialWhere ¶
type UserLatestOscore ¶
type UserTasks ¶
type UserTasks struct { TaskID string `json:"taskId"` UserDid string `json:"userDID"` ApDid string `json:"apDID"` ApName string `json:"apName"` ApIcon string `json:"apIcon"` ApMethod string `json:"apMethod"` ApMethodName string `json:"apMethodName"` DpDid string `json:"dpDID"` DpName string `json:"dpName"` DpIcon string `json:"dpIcon"` DpMethod string `json:"dpMethod"` DpMethodName string `json:"dpMethodName"` CreateTime string `json:"createTime"` UpdateTime string `json:"updateTime"` TaskStatus string `json:"taskStatus"` TaskResult *string `json:"taskResult"` ResultFile *string `json:"resultFile"` IssueTxhash *string `json:"issueTxhash"` ValidTo int64 `json:"valid_to"` NftType int64 `json:"nftType"` InvolvedAddresses string `json:"involved_addresses"` }
type UserWallet ¶
type WalletInfo ¶
Click to show internal directories.
Click to hide internal directories.