Documentation ¶
Index ¶
- type AddMemoToTransactionRequest
- type AddSendTokensOutputRequest
- func (v *AddSendTokensOutputRequest) Copy() *AddSendTokensOutputRequest
- func (v *AddSendTokensOutputRequest) CopyAsInterface() interface{}
- func (v *AddSendTokensOutputRequest) Equal(u *AddSendTokensOutputRequest) bool
- func (v *AddSendTokensOutputRequest) MarshalJSON() ([]byte, error)
- func (v *AddSendTokensOutputRequest) UnmarshalJSON(data []byte) error
- type AddTokenTransactionOutput
- type AddTransactionBodyRequest
- type AddTransactionInputRequest
- type AddTransactionToEnvelopeRequest
- type Adi
- func (v *Adi) Copy() *Adi
- func (v *Adi) CopyAsInterface() interface{}
- func (v *Adi) Equal(u *Adi) bool
- func (v *Adi) IsValid() error
- func (v *Adi) MarshalBinary() ([]byte, error)
- func (v *Adi) MarshalJSON() ([]byte, error)
- func (v *Adi) UnmarshalBinary(data []byte) error
- func (v *Adi) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *Adi) UnmarshalJSON(data []byte) error
- type AdiListResponse
- type AuthorizationRequired
- func (v *AuthorizationRequired) Copy() *AuthorizationRequired
- func (v *AuthorizationRequired) CopyAsInterface() interface{}
- func (v *AuthorizationRequired) Equal(u *AuthorizationRequired) bool
- func (v *AuthorizationRequired) IsValid() error
- func (v *AuthorizationRequired) MarshalBinary() ([]byte, error)
- func (v *AuthorizationRequired) MarshalJSON() ([]byte, error)
- func (v *AuthorizationRequired) UnmarshalBinary(data []byte) error
- func (v *AuthorizationRequired) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *AuthorizationRequired) UnmarshalJSON(data []byte) error
- type ComposeTransactionRequest
- type CreateEnvelopeRequest
- type CreateEnvelopeResponse
- func (v *CreateEnvelopeResponse) Copy() *CreateEnvelopeResponse
- func (v *CreateEnvelopeResponse) CopyAsInterface() interface{}
- func (v *CreateEnvelopeResponse) Equal(u *CreateEnvelopeResponse) bool
- func (v *CreateEnvelopeResponse) MarshalJSON() ([]byte, error)
- func (v *CreateEnvelopeResponse) UnmarshalJSON(data []byte) error
- type CreateTransactionRequest
- type CreateTransactionResponse
- func (v *CreateTransactionResponse) Copy() *CreateTransactionResponse
- func (v *CreateTransactionResponse) CopyAsInterface() interface{}
- func (v *CreateTransactionResponse) Equal(u *CreateTransactionResponse) bool
- func (v *CreateTransactionResponse) MarshalJSON() ([]byte, error)
- func (v *CreateTransactionResponse) UnmarshalJSON(data []byte) error
- type DecodeRequest
- type DecodeResponse
- type DeleteTransactionRequest
- type DeleteTransactionResponse
- type DerivationCount
- type EncodeAccountResponse
- func (v *EncodeAccountResponse) Copy() *EncodeAccountResponse
- func (v *EncodeAccountResponse) CopyAsInterface() interface{}
- func (v *EncodeAccountResponse) Equal(u *EncodeAccountResponse) bool
- func (v *EncodeAccountResponse) MarshalJSON() ([]byte, error)
- func (v *EncodeAccountResponse) UnmarshalJSON(data []byte) error
- type EncodeEnvelopeResponse
- func (v *EncodeEnvelopeResponse) Copy() *EncodeEnvelopeResponse
- func (v *EncodeEnvelopeResponse) CopyAsInterface() interface{}
- func (v *EncodeEnvelopeResponse) Equal(u *EncodeEnvelopeResponse) bool
- func (v *EncodeEnvelopeResponse) MarshalJSON() ([]byte, error)
- func (v *EncodeEnvelopeResponse) UnmarshalJSON(data []byte) error
- type EncodeRequest
- type EncodeTransactionBodyResponse
- func (v *EncodeTransactionBodyResponse) Copy() *EncodeTransactionBodyResponse
- func (v *EncodeTransactionBodyResponse) CopyAsInterface() interface{}
- func (v *EncodeTransactionBodyResponse) Equal(u *EncodeTransactionBodyResponse) bool
- func (v *EncodeTransactionBodyResponse) MarshalJSON() ([]byte, error)
- func (v *EncodeTransactionBodyResponse) UnmarshalJSON(data []byte) error
- type EncodeTransactionHeaderResponse
- func (v *EncodeTransactionHeaderResponse) Copy() *EncodeTransactionHeaderResponse
- func (v *EncodeTransactionHeaderResponse) CopyAsInterface() interface{}
- func (v *EncodeTransactionHeaderResponse) Equal(u *EncodeTransactionHeaderResponse) bool
- func (v *EncodeTransactionHeaderResponse) MarshalJSON() ([]byte, error)
- func (v *EncodeTransactionHeaderResponse) UnmarshalJSON(data []byte) error
- type EncodeTransactionResponse
- func (v *EncodeTransactionResponse) Copy() *EncodeTransactionResponse
- func (v *EncodeTransactionResponse) CopyAsInterface() interface{}
- func (v *EncodeTransactionResponse) Equal(u *EncodeTransactionResponse) bool
- func (v *EncodeTransactionResponse) MarshalJSON() ([]byte, error)
- func (v *EncodeTransactionResponse) UnmarshalJSON(data []byte) error
- type ErrorCode
- type FinalizeEnvelopeRequest
- type GenerateAddressRequest
- type GenerateAddressResponse
- type GenerateKeyRequest
- type GenerateKeyResponse
- type GenerateLedgerKeyRequest
- type ImportMnemonicRequest
- func (v *ImportMnemonicRequest) Copy() *ImportMnemonicRequest
- func (v *ImportMnemonicRequest) CopyAsInterface() interface{}
- func (v *ImportMnemonicRequest) Equal(u *ImportMnemonicRequest) bool
- func (v *ImportMnemonicRequest) MarshalJSON() ([]byte, error)
- func (v *ImportMnemonicRequest) UnmarshalJSON(data []byte) error
- type ImportMnemonicResponse
- type Key
- func (v *Key) Copy() *Key
- func (v *Key) CopyAsInterface() interface{}
- func (v *Key) Equal(u *Key) bool
- func (v *Key) IsValid() error
- func (v *Key) MarshalBinary() ([]byte, error)
- func (v *Key) MarshalJSON() ([]byte, error)
- func (v *Key) UnmarshalBinary(data []byte) error
- func (v *Key) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *Key) UnmarshalJSON(data []byte) error
- type KeyData
- type KeyInfo
- func (v *KeyInfo) Copy() *KeyInfo
- func (v *KeyInfo) CopyAsInterface() interface{}
- func (v *KeyInfo) Equal(u *KeyInfo) bool
- func (v *KeyInfo) IsValid() error
- func (v *KeyInfo) MarshalBinary() ([]byte, error)
- func (v *KeyInfo) UnmarshalBinary(data []byte) error
- func (v *KeyInfo) UnmarshalBinaryFrom(rd io.Reader) error
- type KeyLabels
- func (v *KeyLabels) Copy() *KeyLabels
- func (v *KeyLabels) CopyAsInterface() interface{}
- func (v *KeyLabels) Equal(u *KeyLabels) bool
- func (v *KeyLabels) IsValid() error
- func (v *KeyLabels) MarshalBinary() ([]byte, error)
- func (v *KeyLabels) MarshalJSON() ([]byte, error)
- func (v *KeyLabels) UnmarshalBinary(data []byte) error
- func (v *KeyLabels) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *KeyLabels) UnmarshalJSON(data []byte) error
- type KeyListResponse
- type KeyName
- func (v *KeyName) Copy() *KeyName
- func (v *KeyName) CopyAsInterface() interface{}
- func (v *KeyName) Equal(u *KeyName) bool
- func (v *KeyName) IsValid() error
- func (v *KeyName) MarshalBinary() ([]byte, error)
- func (v *KeyName) MarshalJSON() ([]byte, error)
- func (v *KeyName) UnmarshalBinary(data []byte) error
- func (v *KeyName) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *KeyName) UnmarshalJSON(data []byte) error
- type KeyRotateRequest
- type KeyRotateResponse
- type LedgerVersion
- type LedgerWalletInfo
- type LedgerWalletResponse
- func (v *LedgerWalletResponse) Copy() *LedgerWalletResponse
- func (v *LedgerWalletResponse) CopyAsInterface() interface{}
- func (v *LedgerWalletResponse) Equal(u *LedgerWalletResponse) bool
- func (v *LedgerWalletResponse) MarshalJSON() ([]byte, error)
- func (v *LedgerWalletResponse) UnmarshalJSON(data []byte) error
- type LiteLabel
- type LockWalletRequest
- type LockWalletResponse
- type NewTransactionRequest
- type Page
- func (v *Page) Copy() *Page
- func (v *Page) CopyAsInterface() interface{}
- func (v *Page) Equal(u *Page) bool
- func (v *Page) IsValid() error
- func (v *Page) MarshalBinary() ([]byte, error)
- func (v *Page) MarshalJSON() ([]byte, error)
- func (v *Page) UnmarshalBinary(data []byte) error
- func (v *Page) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *Page) UnmarshalJSON(data []byte) error
- type ProveReceiptRequest
- type RegisterADIRequest
- type RegisterADIResponse
- type ResolveKeyRequest
- type ResolveKeyResponse
- type SeedInfo
- type SignRequest
- type SignResponse
- type SignTransactionRequest
- type TmpTransactionRequest
- type TmpTransactionResponse
- func (v *TmpTransactionResponse) Copy() *TmpTransactionResponse
- func (v *TmpTransactionResponse) CopyAsInterface() interface{}
- func (v *TmpTransactionResponse) Equal(u *TmpTransactionResponse) bool
- func (v *TmpTransactionResponse) MarshalJSON() ([]byte, error)
- func (v *TmpTransactionResponse) UnmarshalJSON(data []byte) error
- type UnlockWalletRequest
- func (v *UnlockWalletRequest) Copy() *UnlockWalletRequest
- func (v *UnlockWalletRequest) CopyAsInterface() interface{}
- func (v *UnlockWalletRequest) Equal(u *UnlockWalletRequest) bool
- func (v *UnlockWalletRequest) MarshalJSON() ([]byte, error)
- func (v *UnlockWalletRequest) UnmarshalJSON(data []byte) error
- type UnlockWalletResponse
- type Version
- type VersionResponse
- func (v *VersionResponse) Copy() *VersionResponse
- func (v *VersionResponse) CopyAsInterface() interface{}
- func (v *VersionResponse) Equal(u *VersionResponse) bool
- func (v *VersionResponse) IsValid() error
- func (v *VersionResponse) MarshalBinary() ([]byte, error)
- func (v *VersionResponse) UnmarshalBinary(data []byte) error
- func (v *VersionResponse) UnmarshalBinaryFrom(rd io.Reader) error
- type Wallet
- type WalletBackupRequest
- type WalletBackupResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddMemoToTransactionRequest ¶
type AddMemoToTransactionRequest struct { TxName string `json:"txName,omitempty" form:"txName" query:"txName" validate:"required"` Memo string `json:"memo,omitempty" form:"memo" query:"memo" validate:"required"` }
func (*AddMemoToTransactionRequest) Copy ¶
func (v *AddMemoToTransactionRequest) Copy() *AddMemoToTransactionRequest
func (*AddMemoToTransactionRequest) CopyAsInterface ¶
func (v *AddMemoToTransactionRequest) CopyAsInterface() interface{}
func (*AddMemoToTransactionRequest) Equal ¶
func (v *AddMemoToTransactionRequest) Equal(u *AddMemoToTransactionRequest) bool
type AddSendTokensOutputRequest ¶
type AddSendTokensOutputRequest struct { TxName string `json:"txName,omitempty" form:"txName" query:"txName" validate:"required"` TokenAddress string `json:"tokenAddress,omitempty" form:"tokenAddress" query:"tokenAddress" validate:"required"` Amount big.Int `json:"amount,omitempty" form:"amount" query:"amount" validate:"required"` }
func (*AddSendTokensOutputRequest) Copy ¶
func (v *AddSendTokensOutputRequest) Copy() *AddSendTokensOutputRequest
func (*AddSendTokensOutputRequest) CopyAsInterface ¶
func (v *AddSendTokensOutputRequest) CopyAsInterface() interface{}
func (*AddSendTokensOutputRequest) Equal ¶
func (v *AddSendTokensOutputRequest) Equal(u *AddSendTokensOutputRequest) bool
func (*AddSendTokensOutputRequest) MarshalJSON ¶
func (v *AddSendTokensOutputRequest) MarshalJSON() ([]byte, error)
func (*AddSendTokensOutputRequest) UnmarshalJSON ¶
func (v *AddSendTokensOutputRequest) UnmarshalJSON(data []byte) error
type AddTokenTransactionOutput ¶
type AddTokenTransactionOutput struct { Name string `json:"name,omitempty" form:"name" query:"name" validate:"required"` Url string `json:"url,omitempty" form:"url" query:"url" validate:"required"` Amount string `json:"amount,omitempty" form:"amount" query:"amount" validate:"required"` }
func (*AddTokenTransactionOutput) Copy ¶
func (v *AddTokenTransactionOutput) Copy() *AddTokenTransactionOutput
func (*AddTokenTransactionOutput) CopyAsInterface ¶
func (v *AddTokenTransactionOutput) CopyAsInterface() interface{}
func (*AddTokenTransactionOutput) Equal ¶
func (v *AddTokenTransactionOutput) Equal(u *AddTokenTransactionOutput) bool
type AddTransactionBodyRequest ¶
type AddTransactionBodyRequest struct { Name string `json:"name,omitempty" form:"name" query:"name" validate:"required"` Body string `json:"body,omitempty" form:"body" query:"body" validate:"required"` }
func (*AddTransactionBodyRequest) Copy ¶
func (v *AddTransactionBodyRequest) Copy() *AddTransactionBodyRequest
func (*AddTransactionBodyRequest) CopyAsInterface ¶
func (v *AddTransactionBodyRequest) CopyAsInterface() interface{}
func (*AddTransactionBodyRequest) Equal ¶
func (v *AddTransactionBodyRequest) Equal(u *AddTransactionBodyRequest) bool
type AddTransactionInputRequest ¶
type AddTransactionInputRequest struct { Name string `json:"name,omitempty" form:"name" query:"name" validate:"required"` Url string `json:"url,omitempty" form:"url" query:"url" validate:"required"` }
func (*AddTransactionInputRequest) Copy ¶
func (v *AddTransactionInputRequest) Copy() *AddTransactionInputRequest
func (*AddTransactionInputRequest) CopyAsInterface ¶
func (v *AddTransactionInputRequest) CopyAsInterface() interface{}
func (*AddTransactionInputRequest) Equal ¶
func (v *AddTransactionInputRequest) Equal(u *AddTransactionInputRequest) bool
type AddTransactionToEnvelopeRequest ¶
type AddTransactionToEnvelopeRequest struct { EnvelopeName string `json:"envelopeName,omitempty" form:"envelopeName" query:"envelopeName" validate:"required"` TransactionName string `json:"transactionName,omitempty" form:"transactionName" query:"transactionName" validate:"required"` }
func (*AddTransactionToEnvelopeRequest) Copy ¶
func (v *AddTransactionToEnvelopeRequest) Copy() *AddTransactionToEnvelopeRequest
func (*AddTransactionToEnvelopeRequest) CopyAsInterface ¶
func (v *AddTransactionToEnvelopeRequest) CopyAsInterface() interface{}
func (*AddTransactionToEnvelopeRequest) Equal ¶
func (v *AddTransactionToEnvelopeRequest) Equal(u *AddTransactionToEnvelopeRequest) bool
type Adi ¶
type Adi struct { Url url.URL `json:"url,omitempty" form:"url" query:"url" validate:"required"` Pages []Page `json:"pages,omitempty" form:"pages" query:"pages"` // contains filtered or unexported fields }
func (*Adi) CopyAsInterface ¶
func (v *Adi) CopyAsInterface() interface{}
func (*Adi) MarshalBinary ¶
func (*Adi) MarshalJSON ¶
func (*Adi) UnmarshalBinary ¶
func (*Adi) UnmarshalJSON ¶
type AdiListResponse ¶
type AdiListResponse struct {
Urls []string `json:"urls,omitempty" form:"urls" query:"urls" validate:"required"`
}
func (*AdiListResponse) Copy ¶
func (v *AdiListResponse) Copy() *AdiListResponse
func (*AdiListResponse) CopyAsInterface ¶
func (v *AdiListResponse) CopyAsInterface() interface{}
func (*AdiListResponse) Equal ¶
func (v *AdiListResponse) Equal(u *AdiListResponse) bool
func (*AdiListResponse) MarshalJSON ¶
func (v *AdiListResponse) MarshalJSON() ([]byte, error)
func (*AdiListResponse) UnmarshalJSON ¶
func (v *AdiListResponse) UnmarshalJSON(data []byte) error
type AuthorizationRequired ¶
type AuthorizationRequired struct { Key []byte `json:"key,omitempty" form:"key" query:"key" validate:"required"` Version string `json:"version,omitempty" form:"version" query:"version" validate:"required"` // contains filtered or unexported fields }
func (*AuthorizationRequired) Copy ¶
func (v *AuthorizationRequired) Copy() *AuthorizationRequired
func (*AuthorizationRequired) CopyAsInterface ¶
func (v *AuthorizationRequired) CopyAsInterface() interface{}
func (*AuthorizationRequired) Equal ¶
func (v *AuthorizationRequired) Equal(u *AuthorizationRequired) bool
func (*AuthorizationRequired) IsValid ¶
func (v *AuthorizationRequired) IsValid() error
func (*AuthorizationRequired) MarshalBinary ¶
func (v *AuthorizationRequired) MarshalBinary() ([]byte, error)
func (*AuthorizationRequired) MarshalJSON ¶
func (v *AuthorizationRequired) MarshalJSON() ([]byte, error)
func (*AuthorizationRequired) UnmarshalBinary ¶
func (v *AuthorizationRequired) UnmarshalBinary(data []byte) error
func (*AuthorizationRequired) UnmarshalBinaryFrom ¶
func (v *AuthorizationRequired) UnmarshalBinaryFrom(rd io.Reader) error
func (*AuthorizationRequired) UnmarshalJSON ¶
func (v *AuthorizationRequired) UnmarshalJSON(data []byte) error
type ComposeTransactionRequest ¶ added in v0.4.0
type ComposeTransactionRequest struct {
TxName string `json:"txName,omitempty" form:"txName" query:"txName" validate:"required"`
}
func (*ComposeTransactionRequest) Copy ¶ added in v0.4.0
func (v *ComposeTransactionRequest) Copy() *ComposeTransactionRequest
func (*ComposeTransactionRequest) CopyAsInterface ¶ added in v0.4.0
func (v *ComposeTransactionRequest) CopyAsInterface() interface{}
func (*ComposeTransactionRequest) Equal ¶ added in v0.4.0
func (v *ComposeTransactionRequest) Equal(u *ComposeTransactionRequest) bool
type CreateEnvelopeRequest ¶
type CreateEnvelopeRequest struct {
Name string `json:"name,omitempty" form:"name" query:"name" validate:"required"`
}
func (*CreateEnvelopeRequest) Copy ¶
func (v *CreateEnvelopeRequest) Copy() *CreateEnvelopeRequest
func (*CreateEnvelopeRequest) CopyAsInterface ¶
func (v *CreateEnvelopeRequest) CopyAsInterface() interface{}
func (*CreateEnvelopeRequest) Equal ¶
func (v *CreateEnvelopeRequest) Equal(u *CreateEnvelopeRequest) bool
type CreateEnvelopeResponse ¶
type CreateEnvelopeResponse struct {
CreateEnvelopeRequest
}
func (*CreateEnvelopeResponse) Copy ¶
func (v *CreateEnvelopeResponse) Copy() *CreateEnvelopeResponse
func (*CreateEnvelopeResponse) CopyAsInterface ¶
func (v *CreateEnvelopeResponse) CopyAsInterface() interface{}
func (*CreateEnvelopeResponse) Equal ¶
func (v *CreateEnvelopeResponse) Equal(u *CreateEnvelopeResponse) bool
func (*CreateEnvelopeResponse) MarshalJSON ¶
func (v *CreateEnvelopeResponse) MarshalJSON() ([]byte, error)
func (*CreateEnvelopeResponse) UnmarshalJSON ¶
func (v *CreateEnvelopeResponse) UnmarshalJSON(data []byte) error
type CreateTransactionRequest ¶
type CreateTransactionRequest struct { Name string `json:"name,omitempty" form:"name" query:"name" validate:"required"` TransactionType protocol.TransactionType `json:"transactionType,omitempty" form:"transactionType" query:"transactionType" validate:"required"` }
func (*CreateTransactionRequest) Copy ¶
func (v *CreateTransactionRequest) Copy() *CreateTransactionRequest
func (*CreateTransactionRequest) CopyAsInterface ¶
func (v *CreateTransactionRequest) CopyAsInterface() interface{}
func (*CreateTransactionRequest) Equal ¶
func (v *CreateTransactionRequest) Equal(u *CreateTransactionRequest) bool
type CreateTransactionResponse ¶
type CreateTransactionResponse struct {
CreateTransactionRequest
}
func (*CreateTransactionResponse) Copy ¶
func (v *CreateTransactionResponse) Copy() *CreateTransactionResponse
func (*CreateTransactionResponse) CopyAsInterface ¶
func (v *CreateTransactionResponse) CopyAsInterface() interface{}
func (*CreateTransactionResponse) Equal ¶
func (v *CreateTransactionResponse) Equal(u *CreateTransactionResponse) bool
func (*CreateTransactionResponse) MarshalJSON ¶
func (v *CreateTransactionResponse) MarshalJSON() ([]byte, error)
func (*CreateTransactionResponse) UnmarshalJSON ¶
func (v *CreateTransactionResponse) UnmarshalJSON(data []byte) error
type DecodeRequest ¶
type DecodeRequest struct {
DataBinary []byte `json:"dataBinary,omitempty" form:"dataBinary" query:"dataBinary" validate:"required"`
}
func (*DecodeRequest) Copy ¶
func (v *DecodeRequest) Copy() *DecodeRequest
func (*DecodeRequest) CopyAsInterface ¶
func (v *DecodeRequest) CopyAsInterface() interface{}
func (*DecodeRequest) Equal ¶
func (v *DecodeRequest) Equal(u *DecodeRequest) bool
func (*DecodeRequest) MarshalJSON ¶
func (v *DecodeRequest) MarshalJSON() ([]byte, error)
func (*DecodeRequest) UnmarshalJSON ¶
func (v *DecodeRequest) UnmarshalJSON(data []byte) error
type DecodeResponse ¶
type DecodeResponse struct {
DataJson json.RawMessage `json:"dataJson,omitempty" form:"dataJson" query:"dataJson" validate:"required"`
}
func (*DecodeResponse) Copy ¶
func (v *DecodeResponse) Copy() *DecodeResponse
func (*DecodeResponse) CopyAsInterface ¶
func (v *DecodeResponse) CopyAsInterface() interface{}
func (*DecodeResponse) Equal ¶
func (v *DecodeResponse) Equal(u *DecodeResponse) bool
type DeleteTransactionRequest ¶
type DeleteTransactionRequest struct {
Name string `json:"name,omitempty" form:"name" query:"name" validate:"required"`
}
func (*DeleteTransactionRequest) Copy ¶
func (v *DeleteTransactionRequest) Copy() *DeleteTransactionRequest
func (*DeleteTransactionRequest) CopyAsInterface ¶
func (v *DeleteTransactionRequest) CopyAsInterface() interface{}
func (*DeleteTransactionRequest) Equal ¶
func (v *DeleteTransactionRequest) Equal(u *DeleteTransactionRequest) bool
type DeleteTransactionResponse ¶
type DeleteTransactionResponse struct {
Name string `json:"name,omitempty" form:"name" query:"name" validate:"required"`
}
func (*DeleteTransactionResponse) Copy ¶
func (v *DeleteTransactionResponse) Copy() *DeleteTransactionResponse
func (*DeleteTransactionResponse) CopyAsInterface ¶
func (v *DeleteTransactionResponse) CopyAsInterface() interface{}
func (*DeleteTransactionResponse) Equal ¶
func (v *DeleteTransactionResponse) Equal(u *DeleteTransactionResponse) bool
type DerivationCount ¶
type DerivationCount struct { WalletId *url.URL `json:"walletId,omitempty" form:"walletId" query:"walletId"` Type protocol.SignatureType `json:"type,omitempty" form:"type" query:"type" validate:"required"` Count uint64 `json:"count,omitempty" form:"count" query:"count" validate:"required"` }
func (*DerivationCount) Copy ¶
func (v *DerivationCount) Copy() *DerivationCount
func (*DerivationCount) CopyAsInterface ¶
func (v *DerivationCount) CopyAsInterface() interface{}
func (*DerivationCount) Equal ¶
func (v *DerivationCount) Equal(u *DerivationCount) bool
type EncodeAccountResponse ¶
type EncodeAccountResponse struct {
AccountBinary []byte `json:"accountBinary,omitempty" form:"accountBinary" query:"accountBinary" validate:"required"`
}
func (*EncodeAccountResponse) Copy ¶
func (v *EncodeAccountResponse) Copy() *EncodeAccountResponse
func (*EncodeAccountResponse) CopyAsInterface ¶
func (v *EncodeAccountResponse) CopyAsInterface() interface{}
func (*EncodeAccountResponse) Equal ¶
func (v *EncodeAccountResponse) Equal(u *EncodeAccountResponse) bool
func (*EncodeAccountResponse) MarshalJSON ¶
func (v *EncodeAccountResponse) MarshalJSON() ([]byte, error)
func (*EncodeAccountResponse) UnmarshalJSON ¶
func (v *EncodeAccountResponse) UnmarshalJSON(data []byte) error
type EncodeEnvelopeResponse ¶ added in v0.4.0
type EncodeEnvelopeResponse struct {
EnvelopeBinary []byte `json:"envelopeBinary,omitempty" form:"envelopeBinary" query:"envelopeBinary" validate:"required"`
}
func (*EncodeEnvelopeResponse) Copy ¶ added in v0.4.0
func (v *EncodeEnvelopeResponse) Copy() *EncodeEnvelopeResponse
func (*EncodeEnvelopeResponse) CopyAsInterface ¶ added in v0.4.0
func (v *EncodeEnvelopeResponse) CopyAsInterface() interface{}
func (*EncodeEnvelopeResponse) Equal ¶ added in v0.4.0
func (v *EncodeEnvelopeResponse) Equal(u *EncodeEnvelopeResponse) bool
func (*EncodeEnvelopeResponse) MarshalJSON ¶ added in v0.4.0
func (v *EncodeEnvelopeResponse) MarshalJSON() ([]byte, error)
func (*EncodeEnvelopeResponse) UnmarshalJSON ¶ added in v0.4.0
func (v *EncodeEnvelopeResponse) UnmarshalJSON(data []byte) error
type EncodeRequest ¶
type EncodeRequest struct {
DataJson json.RawMessage `json:"dataJson,omitempty" form:"dataJson" query:"dataJson" validate:"required"`
}
func (*EncodeRequest) Copy ¶
func (v *EncodeRequest) Copy() *EncodeRequest
func (*EncodeRequest) CopyAsInterface ¶
func (v *EncodeRequest) CopyAsInterface() interface{}
func (*EncodeRequest) Equal ¶
func (v *EncodeRequest) Equal(u *EncodeRequest) bool
type EncodeTransactionBodyResponse ¶
type EncodeTransactionBodyResponse struct {
TransactionBodyBinary []byte `json:"transactionBodyBinary,omitempty" form:"transactionBodyBinary" query:"transactionBodyBinary" validate:"required"`
}
func (*EncodeTransactionBodyResponse) Copy ¶
func (v *EncodeTransactionBodyResponse) Copy() *EncodeTransactionBodyResponse
func (*EncodeTransactionBodyResponse) CopyAsInterface ¶
func (v *EncodeTransactionBodyResponse) CopyAsInterface() interface{}
func (*EncodeTransactionBodyResponse) Equal ¶
func (v *EncodeTransactionBodyResponse) Equal(u *EncodeTransactionBodyResponse) bool
func (*EncodeTransactionBodyResponse) MarshalJSON ¶
func (v *EncodeTransactionBodyResponse) MarshalJSON() ([]byte, error)
func (*EncodeTransactionBodyResponse) UnmarshalJSON ¶
func (v *EncodeTransactionBodyResponse) UnmarshalJSON(data []byte) error
type EncodeTransactionHeaderResponse ¶
type EncodeTransactionHeaderResponse struct {
TransactionHeaderBinary []byte `json:"transactionHeaderBinary,omitempty" form:"transactionHeaderBinary" query:"transactionHeaderBinary" validate:"required"`
}
func (*EncodeTransactionHeaderResponse) Copy ¶
func (v *EncodeTransactionHeaderResponse) Copy() *EncodeTransactionHeaderResponse
func (*EncodeTransactionHeaderResponse) CopyAsInterface ¶
func (v *EncodeTransactionHeaderResponse) CopyAsInterface() interface{}
func (*EncodeTransactionHeaderResponse) Equal ¶
func (v *EncodeTransactionHeaderResponse) Equal(u *EncodeTransactionHeaderResponse) bool
func (*EncodeTransactionHeaderResponse) MarshalJSON ¶
func (v *EncodeTransactionHeaderResponse) MarshalJSON() ([]byte, error)
func (*EncodeTransactionHeaderResponse) UnmarshalJSON ¶
func (v *EncodeTransactionHeaderResponse) UnmarshalJSON(data []byte) error
type EncodeTransactionResponse ¶
type EncodeTransactionResponse struct { TransactionBinary []byte `json:"transactionBinary,omitempty" form:"transactionBinary" query:"transactionBinary" validate:"required"` TransactionHash []byte `json:"transactionHash,omitempty" form:"transactionHash" query:"transactionHash" validate:"required"` }
func (*EncodeTransactionResponse) Copy ¶
func (v *EncodeTransactionResponse) Copy() *EncodeTransactionResponse
func (*EncodeTransactionResponse) CopyAsInterface ¶
func (v *EncodeTransactionResponse) CopyAsInterface() interface{}
func (*EncodeTransactionResponse) Equal ¶
func (v *EncodeTransactionResponse) Equal(u *EncodeTransactionResponse) bool
func (*EncodeTransactionResponse) MarshalJSON ¶
func (v *EncodeTransactionResponse) MarshalJSON() ([]byte, error)
func (*EncodeTransactionResponse) UnmarshalJSON ¶
func (v *EncodeTransactionResponse) UnmarshalJSON(data []byte) error
type ErrorCode ¶
type ErrorCode jsonrpc2.ErrorCode
const ErrorCodeAlreadyExists ErrorCode = -33001
ErrorCodeAlreadyExists .
const ErrorCodeGeneralError ErrorCode = -33002
ErrorCodeGeneralError .
const ErrorCodeNotFound ErrorCode = -33000
ErrorCodeNotFound .
func ErrorCodeByName ¶
ErrorCodeByName returns the named Error Code.
func (ErrorCode) GetEnumValue ¶
GetEnumValue returns the value of the Error Code
func (ErrorCode) MarshalJSON ¶
MarshalJSON marshals the Error Code to JSON as a string.
func (*ErrorCode) SetEnumValue ¶
SetEnumValue sets the value. SetEnumValue returns false if the value is invalid.
func (*ErrorCode) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Error Code from JSON as a string.
type FinalizeEnvelopeRequest ¶
type FinalizeEnvelopeRequest struct {
Name string `json:"name,omitempty" form:"name" query:"name" validate:"required"`
}
func (*FinalizeEnvelopeRequest) Copy ¶
func (v *FinalizeEnvelopeRequest) Copy() *FinalizeEnvelopeRequest
func (*FinalizeEnvelopeRequest) CopyAsInterface ¶
func (v *FinalizeEnvelopeRequest) CopyAsInterface() interface{}
func (*FinalizeEnvelopeRequest) Equal ¶
func (v *FinalizeEnvelopeRequest) Equal(u *FinalizeEnvelopeRequest) bool
type GenerateAddressRequest ¶ added in v0.3.3
type GenerateAddressRequest struct { Type protocol.SignatureType `json:"type,omitempty" form:"type" query:"type" validate:"required"` Label string `json:"label,omitempty" form:"label" query:"label" validate:"required"` }
func (*GenerateAddressRequest) Copy ¶ added in v0.3.3
func (v *GenerateAddressRequest) Copy() *GenerateAddressRequest
func (*GenerateAddressRequest) CopyAsInterface ¶ added in v0.3.3
func (v *GenerateAddressRequest) CopyAsInterface() interface{}
func (*GenerateAddressRequest) Equal ¶ added in v0.3.3
func (v *GenerateAddressRequest) Equal(u *GenerateAddressRequest) bool
type GenerateAddressResponse ¶ added in v0.3.3
type GenerateAddressResponse struct {
Key Key `json:"key,omitempty" form:"key" query:"key" validate:"required"`
}
func (*GenerateAddressResponse) Copy ¶ added in v0.3.3
func (v *GenerateAddressResponse) Copy() *GenerateAddressResponse
func (*GenerateAddressResponse) CopyAsInterface ¶ added in v0.3.3
func (v *GenerateAddressResponse) CopyAsInterface() interface{}
func (*GenerateAddressResponse) Equal ¶ added in v0.3.3
func (v *GenerateAddressResponse) Equal(u *GenerateAddressResponse) bool
type GenerateKeyRequest ¶ added in v0.4.0
type GenerateKeyRequest struct { Type protocol.SignatureType `json:"type,omitempty" form:"type" query:"type"` Label string `json:"label,omitempty" form:"label" query:"label" validate:"required"` Force bool `json:"force,omitempty" form:"force" query:"force"` }
func (*GenerateKeyRequest) Copy ¶ added in v0.4.0
func (v *GenerateKeyRequest) Copy() *GenerateKeyRequest
func (*GenerateKeyRequest) CopyAsInterface ¶ added in v0.4.0
func (v *GenerateKeyRequest) CopyAsInterface() interface{}
func (*GenerateKeyRequest) Equal ¶ added in v0.4.0
func (v *GenerateKeyRequest) Equal(u *GenerateKeyRequest) bool
type GenerateKeyResponse ¶ added in v0.4.0
type GenerateKeyResponse struct {
KeyData KeyData `json:"keyData,omitempty" form:"keyData" query:"keyData" validate:"required"`
}
func (*GenerateKeyResponse) Copy ¶ added in v0.4.0
func (v *GenerateKeyResponse) Copy() *GenerateKeyResponse
func (*GenerateKeyResponse) CopyAsInterface ¶ added in v0.4.0
func (v *GenerateKeyResponse) CopyAsInterface() interface{}
func (*GenerateKeyResponse) Equal ¶ added in v0.4.0
func (v *GenerateKeyResponse) Equal(u *GenerateKeyResponse) bool
type GenerateLedgerKeyRequest ¶ added in v0.3.1
type GenerateLedgerKeyRequest struct { KeyLabel string `json:"keyLabel,omitempty" form:"keyLabel" query:"keyLabel" validate:"required"` WalletID string `json:"walletID,omitempty" form:"walletID" query:"walletID"` }
func (*GenerateLedgerKeyRequest) Copy ¶ added in v0.3.1
func (v *GenerateLedgerKeyRequest) Copy() *GenerateLedgerKeyRequest
func (*GenerateLedgerKeyRequest) CopyAsInterface ¶ added in v0.3.1
func (v *GenerateLedgerKeyRequest) CopyAsInterface() interface{}
func (*GenerateLedgerKeyRequest) Equal ¶ added in v0.3.1
func (v *GenerateLedgerKeyRequest) Equal(u *GenerateLedgerKeyRequest) bool
type ImportMnemonicRequest ¶ added in v0.4.0
type ImportMnemonicRequest struct {
Mnemonic []string `json:"mnemonic,omitempty" form:"mnemonic" query:"mnemonic" validate:"required"`
}
func (*ImportMnemonicRequest) Copy ¶ added in v0.4.0
func (v *ImportMnemonicRequest) Copy() *ImportMnemonicRequest
func (*ImportMnemonicRequest) CopyAsInterface ¶ added in v0.4.0
func (v *ImportMnemonicRequest) CopyAsInterface() interface{}
func (*ImportMnemonicRequest) Equal ¶ added in v0.4.0
func (v *ImportMnemonicRequest) Equal(u *ImportMnemonicRequest) bool
func (*ImportMnemonicRequest) MarshalJSON ¶ added in v0.4.0
func (v *ImportMnemonicRequest) MarshalJSON() ([]byte, error)
func (*ImportMnemonicRequest) UnmarshalJSON ¶ added in v0.4.0
func (v *ImportMnemonicRequest) UnmarshalJSON(data []byte) error
type ImportMnemonicResponse ¶ added in v0.4.0
type ImportMnemonicResponse struct { }
func (*ImportMnemonicResponse) Copy ¶ added in v0.4.0
func (v *ImportMnemonicResponse) Copy() *ImportMnemonicResponse
func (*ImportMnemonicResponse) CopyAsInterface ¶ added in v0.4.0
func (v *ImportMnemonicResponse) CopyAsInterface() interface{}
func (*ImportMnemonicResponse) Equal ¶ added in v0.4.0
func (v *ImportMnemonicResponse) Equal(u *ImportMnemonicResponse) bool
type Key ¶
type Key struct { PrivateKey []byte `json:"privateKey,omitempty" form:"privateKey" query:"privateKey"` PublicKey []byte `json:"publicKey,omitempty" form:"publicKey" query:"publicKey" validate:"required"` KeyInfo KeyInfo `json:"keyInfo,omitempty" form:"keyInfo" query:"keyInfo" validate:"required"` Labels *KeyLabels `json:"labels,omitempty" form:"labels" query:"labels"` // contains filtered or unexported fields }
func (*Key) CopyAsInterface ¶
func (v *Key) CopyAsInterface() interface{}
func (*Key) MarshalBinary ¶
func (*Key) MarshalJSON ¶
func (*Key) UnmarshalBinary ¶
func (*Key) UnmarshalJSON ¶
type KeyData ¶
type KeyData struct { Name string `json:"name,omitempty" form:"name" query:"name" validate:"required"` PublicKey []byte `json:"publicKey,omitempty" form:"publicKey" query:"publicKey" validate:"required"` KeyInfo KeyInfo `json:"keyInfo,omitempty" form:"keyInfo" query:"keyInfo" validate:"required"` }
func (*KeyData) CopyAsInterface ¶
func (v *KeyData) CopyAsInterface() interface{}
func (*KeyData) MarshalJSON ¶
func (*KeyData) UnmarshalJSON ¶
type KeyInfo ¶
type KeyInfo struct { Type protocol.SignatureType `json:"type,omitempty" form:"type" query:"type" validate:"required"` Derivation string `json:"derivation,omitempty" form:"derivation" query:"derivation"` WalletId *url.URL `json:"walletId,omitempty" form:"walletId" query:"walletId"` // contains filtered or unexported fields }
func (*KeyInfo) CopyAsInterface ¶
func (v *KeyInfo) CopyAsInterface() interface{}
func (*KeyInfo) MarshalBinary ¶
func (*KeyInfo) UnmarshalBinary ¶
type KeyLabels ¶ added in v0.3.3
type KeyLabels struct { Lite string `json:"lite,omitempty" form:"lite" query:"lite" validate:"required"` Hash []byte `json:"hash,omitempty" form:"hash" query:"hash" validate:"required"` Names []string `json:"names,omitempty" form:"names" query:"names" validate:"required"` // contains filtered or unexported fields }
func (*KeyLabels) CopyAsInterface ¶ added in v0.3.3
func (v *KeyLabels) CopyAsInterface() interface{}
func (*KeyLabels) MarshalBinary ¶ added in v0.3.3
func (*KeyLabels) MarshalJSON ¶ added in v0.3.3
func (*KeyLabels) UnmarshalBinary ¶ added in v0.3.3
func (*KeyLabels) UnmarshalBinaryFrom ¶ added in v0.3.3
func (*KeyLabels) UnmarshalJSON ¶ added in v0.3.3
type KeyListResponse ¶
type KeyListResponse struct {
KeyList []Key `json:"keyList,omitempty" form:"keyList" query:"keyList" validate:"required"`
}
func (*KeyListResponse) Copy ¶
func (v *KeyListResponse) Copy() *KeyListResponse
func (*KeyListResponse) CopyAsInterface ¶
func (v *KeyListResponse) CopyAsInterface() interface{}
func (*KeyListResponse) Equal ¶
func (v *KeyListResponse) Equal(u *KeyListResponse) bool
func (*KeyListResponse) MarshalJSON ¶
func (v *KeyListResponse) MarshalJSON() ([]byte, error)
func (*KeyListResponse) UnmarshalJSON ¶
func (v *KeyListResponse) UnmarshalJSON(data []byte) error
type KeyName ¶
type KeyName struct { Name string `json:"name,omitempty" form:"name" query:"name" validate:"required"` PublicKey []byte `json:"publicKey,omitempty" form:"publicKey" query:"publicKey" validate:"required"` // contains filtered or unexported fields }
func (*KeyName) CopyAsInterface ¶
func (v *KeyName) CopyAsInterface() interface{}
func (*KeyName) MarshalBinary ¶
func (*KeyName) MarshalJSON ¶
func (*KeyName) UnmarshalBinary ¶
func (*KeyName) UnmarshalJSON ¶
type KeyRotateRequest ¶ added in v0.4.0
type KeyRotateRequest struct { OldKeyLabel string `json:"oldKeyLabel,omitempty" form:"oldKeyLabel" query:"oldKeyLabel" validate:"required"` NewKeyLabel string `json:"newKeyLabel,omitempty" form:"newKeyLabel" query:"newKeyLabel" validate:"required"` Force bool `json:"force,omitempty" form:"force" query:"force" validate:"required"` }
func (*KeyRotateRequest) Copy ¶ added in v0.4.0
func (v *KeyRotateRequest) Copy() *KeyRotateRequest
func (*KeyRotateRequest) CopyAsInterface ¶ added in v0.4.0
func (v *KeyRotateRequest) CopyAsInterface() interface{}
func (*KeyRotateRequest) Equal ¶ added in v0.4.0
func (v *KeyRotateRequest) Equal(u *KeyRotateRequest) bool
type KeyRotateResponse ¶ added in v0.4.0
type KeyRotateResponse struct { OldKey Key `json:"oldKey,omitempty" form:"oldKey" query:"oldKey" validate:"required"` NewKey Key `json:"newKey,omitempty" form:"newKey" query:"newKey" validate:"required"` }
func (*KeyRotateResponse) Copy ¶ added in v0.4.0
func (v *KeyRotateResponse) Copy() *KeyRotateResponse
func (*KeyRotateResponse) CopyAsInterface ¶ added in v0.4.0
func (v *KeyRotateResponse) CopyAsInterface() interface{}
func (*KeyRotateResponse) Equal ¶ added in v0.4.0
func (v *KeyRotateResponse) Equal(u *KeyRotateResponse) bool
type LedgerVersion ¶ added in v0.3.1
type LedgerVersion struct { Label string `json:"label,omitempty" form:"label" query:"label" validate:"required"` Major uint64 `json:"major,omitempty" form:"major" query:"major" validate:"required"` Minor uint64 `json:"minor,omitempty" form:"minor" query:"minor" validate:"required"` Patch uint64 `json:"patch,omitempty" form:"patch" query:"patch" validate:"required"` }
func (*LedgerVersion) Copy ¶ added in v0.3.1
func (v *LedgerVersion) Copy() *LedgerVersion
func (*LedgerVersion) CopyAsInterface ¶ added in v0.3.1
func (v *LedgerVersion) CopyAsInterface() interface{}
func (*LedgerVersion) Equal ¶ added in v0.3.1
func (v *LedgerVersion) Equal(u *LedgerVersion) bool
type LedgerWalletInfo ¶ added in v0.3.1
type LedgerWalletInfo struct { Version LedgerVersion `json:"version,omitempty" form:"version" query:"version" validate:"required"` VendorID uint64 `json:"vendorID,omitempty" form:"vendorID" query:"vendorID" validate:"required"` Manufacturer string `json:"manufacturer,omitempty" form:"manufacturer" query:"manufacturer" validate:"required"` ProductID uint64 `json:"productID,omitempty" form:"productID" query:"productID" validate:"required"` Product string `json:"product,omitempty" form:"product" query:"product" validate:"required"` Status string `json:"status,omitempty" form:"status" query:"status" validate:"required"` WalletID *url.URL `json:"walletID,omitempty" form:"walletID" query:"walletID" validate:"required"` }
func (*LedgerWalletInfo) Copy ¶ added in v0.3.1
func (v *LedgerWalletInfo) Copy() *LedgerWalletInfo
func (*LedgerWalletInfo) CopyAsInterface ¶ added in v0.3.1
func (v *LedgerWalletInfo) CopyAsInterface() interface{}
func (*LedgerWalletInfo) Equal ¶ added in v0.3.1
func (v *LedgerWalletInfo) Equal(u *LedgerWalletInfo) bool
type LedgerWalletResponse ¶ added in v0.3.1
type LedgerWalletResponse struct {
LedgerWalletsInfo []LedgerWalletInfo `json:"ledgerWalletsInfo,omitempty" form:"ledgerWalletsInfo" query:"ledgerWalletsInfo" validate:"required"`
}
func (*LedgerWalletResponse) Copy ¶ added in v0.3.1
func (v *LedgerWalletResponse) Copy() *LedgerWalletResponse
func (*LedgerWalletResponse) CopyAsInterface ¶ added in v0.3.1
func (v *LedgerWalletResponse) CopyAsInterface() interface{}
func (*LedgerWalletResponse) Equal ¶ added in v0.3.1
func (v *LedgerWalletResponse) Equal(u *LedgerWalletResponse) bool
func (*LedgerWalletResponse) MarshalJSON ¶ added in v0.3.1
func (v *LedgerWalletResponse) MarshalJSON() ([]byte, error)
func (*LedgerWalletResponse) UnmarshalJSON ¶ added in v0.3.1
func (v *LedgerWalletResponse) UnmarshalJSON(data []byte) error
type LiteLabel ¶
type LiteLabel struct { LiteName string `json:"liteName,omitempty" form:"liteName" query:"liteName" validate:"required"` KeyName string `json:"keyName,omitempty" form:"keyName" query:"keyName" validate:"required"` }
func (*LiteLabel) CopyAsInterface ¶
func (v *LiteLabel) CopyAsInterface() interface{}
type LockWalletRequest ¶ added in v0.4.1
type LockWalletRequest struct { // Close completely closes and unloads the wallet. Close bool `json:"close,omitempty" form:"close" query:"close" validate:"required"` }
func (*LockWalletRequest) Copy ¶ added in v0.4.1
func (v *LockWalletRequest) Copy() *LockWalletRequest
func (*LockWalletRequest) CopyAsInterface ¶ added in v0.4.1
func (v *LockWalletRequest) CopyAsInterface() interface{}
func (*LockWalletRequest) Equal ¶ added in v0.4.1
func (v *LockWalletRequest) Equal(u *LockWalletRequest) bool
type LockWalletResponse ¶ added in v0.4.1
type LockWalletResponse struct { }
func (*LockWalletResponse) Copy ¶ added in v0.4.1
func (v *LockWalletResponse) Copy() *LockWalletResponse
func (*LockWalletResponse) CopyAsInterface ¶ added in v0.4.1
func (v *LockWalletResponse) CopyAsInterface() interface{}
func (*LockWalletResponse) Equal ¶ added in v0.4.1
func (v *LockWalletResponse) Equal(u *LockWalletResponse) bool
type NewTransactionRequest ¶
type NewTransactionRequest struct { TxName string `json:"txName,omitempty" form:"txName" query:"txName" validate:"required"` Origin string `json:"origin,omitempty" form:"origin" query:"origin" validate:"required"` }
func (*NewTransactionRequest) Copy ¶
func (v *NewTransactionRequest) Copy() *NewTransactionRequest
func (*NewTransactionRequest) CopyAsInterface ¶
func (v *NewTransactionRequest) CopyAsInterface() interface{}
func (*NewTransactionRequest) Equal ¶
func (v *NewTransactionRequest) Equal(u *NewTransactionRequest) bool
type Page ¶
type Page struct { Url url.URL `json:"url,omitempty" form:"url" query:"url" validate:"required"` KeyNames []string `json:"keyNames,omitempty" form:"keyNames" query:"keyNames" validate:"required"` // contains filtered or unexported fields }
func (*Page) CopyAsInterface ¶
func (v *Page) CopyAsInterface() interface{}
func (*Page) MarshalBinary ¶
func (*Page) MarshalJSON ¶
func (*Page) UnmarshalBinary ¶
func (*Page) UnmarshalJSON ¶
type ProveReceiptRequest ¶
type ProveReceiptRequest struct { DataJson string `json:"dataJson,omitempty" form:"dataJson" query:"dataJson" validate:"required"` ReceiptJson string `json:"receiptJson,omitempty" form:"receiptJson" query:"receiptJson" validate:"required"` }
func (*ProveReceiptRequest) Copy ¶
func (v *ProveReceiptRequest) Copy() *ProveReceiptRequest
func (*ProveReceiptRequest) CopyAsInterface ¶
func (v *ProveReceiptRequest) CopyAsInterface() interface{}
func (*ProveReceiptRequest) Equal ¶
func (v *ProveReceiptRequest) Equal(u *ProveReceiptRequest) bool
type RegisterADIRequest ¶ added in v0.4.0
type RegisterADIRequest struct {
ADI *url.URL `json:"adi,omitempty" form:"adi" query:"adi" validate:"required"`
}
func (*RegisterADIRequest) Copy ¶ added in v0.4.0
func (v *RegisterADIRequest) Copy() *RegisterADIRequest
func (*RegisterADIRequest) CopyAsInterface ¶ added in v0.4.0
func (v *RegisterADIRequest) CopyAsInterface() interface{}
func (*RegisterADIRequest) Equal ¶ added in v0.4.0
func (v *RegisterADIRequest) Equal(u *RegisterADIRequest) bool
type RegisterADIResponse ¶ added in v0.4.0
type RegisterADIResponse struct { }
func (*RegisterADIResponse) Copy ¶ added in v0.4.0
func (v *RegisterADIResponse) Copy() *RegisterADIResponse
func (*RegisterADIResponse) CopyAsInterface ¶ added in v0.4.0
func (v *RegisterADIResponse) CopyAsInterface() interface{}
func (*RegisterADIResponse) Equal ¶ added in v0.4.0
func (v *RegisterADIResponse) Equal(u *RegisterADIResponse) bool
type ResolveKeyRequest ¶
type ResolveKeyRequest struct {
KeyNameOrLiteAddress string `json:"keyNameOrLiteAddress,omitempty" form:"keyNameOrLiteAddress" query:"keyNameOrLiteAddress" validate:"required"`
}
func (*ResolveKeyRequest) Copy ¶
func (v *ResolveKeyRequest) Copy() *ResolveKeyRequest
func (*ResolveKeyRequest) CopyAsInterface ¶
func (v *ResolveKeyRequest) CopyAsInterface() interface{}
func (*ResolveKeyRequest) Equal ¶
func (v *ResolveKeyRequest) Equal(u *ResolveKeyRequest) bool
type ResolveKeyResponse ¶
type ResolveKeyResponse struct {
KeyData KeyData `json:"keyData,omitempty" form:"keyData" query:"keyData" validate:"required"`
}
func (*ResolveKeyResponse) Copy ¶
func (v *ResolveKeyResponse) Copy() *ResolveKeyResponse
func (*ResolveKeyResponse) CopyAsInterface ¶
func (v *ResolveKeyResponse) CopyAsInterface() interface{}
func (*ResolveKeyResponse) Equal ¶
func (v *ResolveKeyResponse) Equal(u *ResolveKeyResponse) bool
type SeedInfo ¶
type SeedInfo struct { Mnemonic string `json:"mnemonic,omitempty" form:"mnemonic" query:"mnemonic" validate:"required"` Seed []byte `json:"seed,omitempty" form:"seed" query:"seed" validate:"required"` }
func (*SeedInfo) CopyAsInterface ¶
func (v *SeedInfo) CopyAsInterface() interface{}
func (*SeedInfo) MarshalJSON ¶
func (*SeedInfo) UnmarshalJSON ¶
type SignRequest ¶
type SignRequest struct { Name int64 `json:"name,omitempty" form:"name" query:"name" validate:"required"` KeyName string `json:"keyName,omitempty" form:"keyName" query:"keyName"` }
func (*SignRequest) Copy ¶
func (v *SignRequest) Copy() *SignRequest
func (*SignRequest) CopyAsInterface ¶
func (v *SignRequest) CopyAsInterface() interface{}
func (*SignRequest) Equal ¶
func (v *SignRequest) Equal(u *SignRequest) bool
type SignResponse ¶
type SignResponse struct { Signature []byte `json:"signature,omitempty" form:"signature" query:"signature" validate:"required"` PublicKey []byte `json:"publicKey,omitempty" form:"publicKey" query:"publicKey" validate:"required"` }
func (*SignResponse) Copy ¶
func (v *SignResponse) Copy() *SignResponse
func (*SignResponse) CopyAsInterface ¶
func (v *SignResponse) CopyAsInterface() interface{}
func (*SignResponse) Equal ¶
func (v *SignResponse) Equal(u *SignResponse) bool
func (*SignResponse) MarshalJSON ¶
func (v *SignResponse) MarshalJSON() ([]byte, error)
func (*SignResponse) UnmarshalJSON ¶
func (v *SignResponse) UnmarshalJSON(data []byte) error
type SignTransactionRequest ¶
type SignTransactionRequest struct { TxName string `json:"txName,omitempty" form:"txName" query:"txName" validate:"required"` KeyName string `json:"keyName,omitempty" form:"keyName" query:"keyName" validate:"required"` SignerVersion int64 `json:"signerVersion,omitempty" form:"signerVersion" query:"signerVersion" validate:"required"` Timestamp int64 `json:"timestamp,omitempty" form:"timestamp" query:"timestamp"` }
func (*SignTransactionRequest) Copy ¶
func (v *SignTransactionRequest) Copy() *SignTransactionRequest
func (*SignTransactionRequest) CopyAsInterface ¶
func (v *SignTransactionRequest) CopyAsInterface() interface{}
func (*SignTransactionRequest) Equal ¶
func (v *SignTransactionRequest) Equal(u *SignTransactionRequest) bool
type TmpTransactionRequest ¶ added in v0.4.0
type TmpTransactionRequest struct { }
func (*TmpTransactionRequest) Copy ¶ added in v0.4.0
func (v *TmpTransactionRequest) Copy() *TmpTransactionRequest
func (*TmpTransactionRequest) CopyAsInterface ¶ added in v0.4.0
func (v *TmpTransactionRequest) CopyAsInterface() interface{}
func (*TmpTransactionRequest) Equal ¶ added in v0.4.0
func (v *TmpTransactionRequest) Equal(u *TmpTransactionRequest) bool
type TmpTransactionResponse ¶ added in v0.4.0
type TmpTransactionResponse struct {
Transactions []string `json:"transactions,omitempty" form:"transactions" query:"transactions" validate:"required"`
}
func (*TmpTransactionResponse) Copy ¶ added in v0.4.0
func (v *TmpTransactionResponse) Copy() *TmpTransactionResponse
func (*TmpTransactionResponse) CopyAsInterface ¶ added in v0.4.0
func (v *TmpTransactionResponse) CopyAsInterface() interface{}
func (*TmpTransactionResponse) Equal ¶ added in v0.4.0
func (v *TmpTransactionResponse) Equal(u *TmpTransactionResponse) bool
func (*TmpTransactionResponse) MarshalJSON ¶ added in v0.4.0
func (v *TmpTransactionResponse) MarshalJSON() ([]byte, error)
func (*TmpTransactionResponse) UnmarshalJSON ¶ added in v0.4.0
func (v *TmpTransactionResponse) UnmarshalJSON(data []byte) error
type UnlockWalletRequest ¶ added in v0.4.0
type UnlockWalletRequest struct { Password string `json:"password,omitempty" form:"password" query:"password" validate:"required"` Timeout time.Duration `json:"timeout,omitempty" form:"timeout" query:"timeout" validate:"required"` }
func (*UnlockWalletRequest) Copy ¶ added in v0.4.0
func (v *UnlockWalletRequest) Copy() *UnlockWalletRequest
func (*UnlockWalletRequest) CopyAsInterface ¶ added in v0.4.0
func (v *UnlockWalletRequest) CopyAsInterface() interface{}
func (*UnlockWalletRequest) Equal ¶ added in v0.4.0
func (v *UnlockWalletRequest) Equal(u *UnlockWalletRequest) bool
func (*UnlockWalletRequest) MarshalJSON ¶ added in v0.4.0
func (v *UnlockWalletRequest) MarshalJSON() ([]byte, error)
func (*UnlockWalletRequest) UnmarshalJSON ¶ added in v0.4.0
func (v *UnlockWalletRequest) UnmarshalJSON(data []byte) error
type UnlockWalletResponse ¶ added in v0.4.0
type UnlockWalletResponse struct { Success bool `json:"success,omitempty" form:"success" query:"success" validate:"required"` UnlockedUntil time.Time `json:"unlockedUntil,omitempty" form:"unlockedUntil" query:"unlockedUntil" validate:"required"` }
func (*UnlockWalletResponse) Copy ¶ added in v0.4.0
func (v *UnlockWalletResponse) Copy() *UnlockWalletResponse
func (*UnlockWalletResponse) CopyAsInterface ¶ added in v0.4.0
func (v *UnlockWalletResponse) CopyAsInterface() interface{}
func (*UnlockWalletResponse) Equal ¶ added in v0.4.0
func (v *UnlockWalletResponse) Equal(u *UnlockWalletResponse) bool
type Version ¶
type Version struct { Major uint64 `json:"major,omitempty" form:"major" query:"major" validate:"required"` Minor uint64 `json:"minor,omitempty" form:"minor" query:"minor" validate:"required"` Revision uint64 `json:"revision,omitempty" form:"revision" query:"revision" validate:"required"` Commit uint64 `json:"commit,omitempty" form:"commit" query:"commit" validate:"required"` }
func (*Version) CopyAsInterface ¶
func (v *Version) CopyAsInterface() interface{}
type VersionResponse ¶
type VersionResponse struct { WalletVersion string `json:"walletVersion,omitempty" form:"walletVersion" query:"walletVersion" validate:"required"` WalletCommit string `json:"walletCommit,omitempty" form:"walletCommit" query:"walletCommit" validate:"required"` DatabaseVersion string `json:"databaseVersion,omitempty" form:"databaseVersion" query:"databaseVersion" validate:"required"` // contains filtered or unexported fields }
func (*VersionResponse) Copy ¶
func (v *VersionResponse) Copy() *VersionResponse
func (*VersionResponse) CopyAsInterface ¶
func (v *VersionResponse) CopyAsInterface() interface{}
func (*VersionResponse) Equal ¶
func (v *VersionResponse) Equal(u *VersionResponse) bool
func (*VersionResponse) IsValid ¶
func (v *VersionResponse) IsValid() error
func (*VersionResponse) MarshalBinary ¶
func (v *VersionResponse) MarshalBinary() ([]byte, error)
func (*VersionResponse) UnmarshalBinary ¶
func (v *VersionResponse) UnmarshalBinary(data []byte) error
func (*VersionResponse) UnmarshalBinaryFrom ¶
func (v *VersionResponse) UnmarshalBinaryFrom(rd io.Reader) error
type Wallet ¶
type Wallet struct { BackupDate time.Time `json:"backupDate,omitempty" form:"backupDate" query:"backupDate" validate:"required"` Version Version `json:"version,omitempty" form:"version" query:"version" validate:"required"` SeedInfo SeedInfo `json:"seedInfo,omitempty" form:"seedInfo" query:"seedInfo" validate:"required"` DerivationCounters []DerivationCount `json:"derivationCounters,omitempty" form:"derivationCounters" query:"derivationCounters" validate:"required"` Keys []Key `json:"keys,omitempty" form:"keys" query:"keys" validate:"required"` KeyNames []KeyName `json:"keyNames,omitempty" form:"keyNames" query:"keyNames" validate:"required"` LiteLabels []LiteLabel `json:"liteLabels,omitempty" form:"liteLabels" query:"liteLabels" validate:"required"` Adis []Adi `json:"adis,omitempty" form:"adis" query:"adis"` }
func (*Wallet) CopyAsInterface ¶
func (v *Wallet) CopyAsInterface() interface{}
func (*Wallet) MarshalJSON ¶
func (*Wallet) UnmarshalJSON ¶
type WalletBackupRequest ¶ added in v0.4.0
type WalletBackupRequest struct { }
func (*WalletBackupRequest) Copy ¶ added in v0.4.0
func (v *WalletBackupRequest) Copy() *WalletBackupRequest
func (*WalletBackupRequest) CopyAsInterface ¶ added in v0.4.0
func (v *WalletBackupRequest) CopyAsInterface() interface{}
func (*WalletBackupRequest) Equal ¶ added in v0.4.0
func (v *WalletBackupRequest) Equal(u *WalletBackupRequest) bool
type WalletBackupResponse ¶ added in v0.4.0
type WalletBackupResponse struct {
DataJson string `json:"dataJson,omitempty" form:"dataJson" query:"dataJson" validate:"required"`
}
func (*WalletBackupResponse) Copy ¶ added in v0.4.0
func (v *WalletBackupResponse) Copy() *WalletBackupResponse
func (*WalletBackupResponse) CopyAsInterface ¶ added in v0.4.0
func (v *WalletBackupResponse) CopyAsInterface() interface{}
func (*WalletBackupResponse) Equal ¶ added in v0.4.0
func (v *WalletBackupResponse) Equal(u *WalletBackupResponse) bool
Click to show internal directories.
Click to hide internal directories.