Documentation ¶
Index ¶
- type AccInfo
- type BuyData
- type ConfirmData
- type Credit
- type CreditData
- type DecryptData
- type IDs
- type MessageIn
- type MessageOut
- type OnApprove
- type OnClose
- type OnPublish
- type OnPurchase
- type OnReadyForDownload
- type OnRegisterAsVerifier
- type OnTransactionCreate
- type OnVerifierDisable
- type OnVerifiersChosen
- type OnVote
- type Prepared
- type PresetFunc
- type PublishData
- type PurchaseData
- type ReEncryptData
- type RegisterVerifierData
- type SDKInitData
- type SelectedData
- type SelectedTxCD
- type SelectedTxCrD
- type SelectedTxDD
- type SelectedTxPD
- type SelectedTxRED
- type Verify
- type VerifyData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuyData ¶
type BuyData struct { Password string `json:"password"` StartVerify bool `json:"startVerify"` SelectedData SelectedData `json:"pID"` }
type ConfirmData ¶
type ConfirmData struct { Password string `json:"password"` SelectedTx SelectedTxCD `json:"tID"` Truth bool `json:"confirmData"` }
type CreditData ¶
type CreditData struct { Password string `json:"password"` SelectedTx SelectedTxCrD `json:"tID"` Credit Credit `json:"credit"` }
type DecryptData ¶
type DecryptData struct { Password string `json:"password"` SelectedTx SelectedTxDD `json:"tID"` }
type MessageIn ¶
type MessageIn struct { Name string `json:"Name"` Payload json.RawMessage `json:"Payload"` }
type MessageOut ¶
type MessageOut struct { Name string `json:"Name"` Payload interface{} `json:"Payload,omitempty"` }
type OnPublish ¶
type OnPublish struct { Title string `json:"Title"` Keys string `json:"Keys"` Description string `json:"Description"` MetaDataExtension string `json:"MetaDataExtension"` ProofDataExtensions []string `json:"ProofDataExtensions"` Seller string `json:"Seller"` Price string PublishID string SupportVerify bool Block uint64 }
type OnPurchase ¶
type OnReadyForDownload ¶
type OnRegisterAsVerifier ¶
type OnRegisterAsVerifier struct {
Block uint64
}
type OnTransactionCreate ¶
type OnVerifierDisable ¶
type OnVerifierDisable struct {
Block uint64
}
type OnVerifiersChosen ¶
type PresetFunc ¶
type PublishData ¶
type PurchaseData ¶
type PurchaseData struct { Password string `json:"password"` SelectedTx SelectedTxPD `json:"tID"` }
type ReEncryptData ¶
type ReEncryptData struct { Password string `json:"password"` SelectedTx SelectedTxRED `json:"tID"` }
type RegisterVerifierData ¶
type RegisterVerifierData struct {
Password string `json:"password"`
}
type SDKInitData ¶
type SDKInitData struct {
FromBlock float64 `json:"fromBlock"`
}
type SelectedData ¶
type SelectedData struct {
PublishID string `json:"PublishID"`
}
type SelectedTxCD ¶
type SelectedTxCD struct {
TransactionID string `json:"TransactionID"`
}
type SelectedTxCrD ¶
type SelectedTxCrD struct {
TransactionID string `json:"TransactionID"`
}
type SelectedTxDD ¶
type SelectedTxPD ¶
type SelectedTxPD struct {
TransactionID string `json:"TransactionID"`
}
type SelectedTxRED ¶
type VerifyData ¶
Click to show internal directories.
Click to hide internal directories.