Documentation ¶
Index ¶
- func Type(data []byte) (qt types.QueryType)
- type ChainState
- func (v *ChainState) Copy() *ChainState
- func (v *ChainState) CopyAsInterface() interface{}
- func (v *ChainState) Equal(u *ChainState) bool
- func (v *ChainState) IsValid() error
- func (v *ChainState) MarshalBinary() ([]byte, error)
- func (v *ChainState) MarshalJSON() ([]byte, error)
- func (v *ChainState) UnmarshalBinary(data []byte) error
- func (v *ChainState) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *ChainState) UnmarshalJSON(data []byte) error
- type DirectoryQueryResult
- func (v *DirectoryQueryResult) Copy() *DirectoryQueryResult
- func (v *DirectoryQueryResult) CopyAsInterface() interface{}
- func (v *DirectoryQueryResult) Equal(u *DirectoryQueryResult) bool
- func (v *DirectoryQueryResult) IsValid() error
- func (v *DirectoryQueryResult) MarshalBinary() ([]byte, error)
- func (v *DirectoryQueryResult) MarshalJSON() ([]byte, error)
- func (v *DirectoryQueryResult) UnmarshalBinary(data []byte) error
- func (v *DirectoryQueryResult) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *DirectoryQueryResult) UnmarshalJSON(data []byte) error
- type MultiResponse
- type Query
- type RequestByChainId
- type RequestByTxId
- type RequestByUrl
- type RequestDataEntry
- func (v *RequestDataEntry) Copy() *RequestDataEntry
- func (v *RequestDataEntry) CopyAsInterface() interface{}
- func (v *RequestDataEntry) Equal(u *RequestDataEntry) bool
- func (v *RequestDataEntry) IsValid() error
- func (v *RequestDataEntry) MarshalBinary() ([]byte, error)
- func (v *RequestDataEntry) MarshalJSON() ([]byte, error)
- func (*RequestDataEntry) Type() types.QueryType
- func (v *RequestDataEntry) UnmarshalBinary(data []byte) error
- func (v *RequestDataEntry) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *RequestDataEntry) UnmarshalJSON(data []byte) error
- type RequestDataEntrySet
- func (v *RequestDataEntrySet) Copy() *RequestDataEntrySet
- func (v *RequestDataEntrySet) CopyAsInterface() interface{}
- func (v *RequestDataEntrySet) Equal(u *RequestDataEntrySet) bool
- func (v *RequestDataEntrySet) IsValid() error
- func (v *RequestDataEntrySet) MarshalBinary() ([]byte, error)
- func (*RequestDataEntrySet) Type() types.QueryType
- func (v *RequestDataEntrySet) UnmarshalBinary(data []byte) error
- func (v *RequestDataEntrySet) UnmarshalBinaryFrom(rd io.Reader) error
- type RequestDirectory
- type RequestKeyPageIndex
- func (v *RequestKeyPageIndex) Copy() *RequestKeyPageIndex
- func (v *RequestKeyPageIndex) CopyAsInterface() interface{}
- func (v *RequestKeyPageIndex) Equal(u *RequestKeyPageIndex) bool
- func (v *RequestKeyPageIndex) IsValid() error
- func (v *RequestKeyPageIndex) MarshalBinary() ([]byte, error)
- func (v *RequestKeyPageIndex) MarshalJSON() ([]byte, error)
- func (*RequestKeyPageIndex) Type() types.QueryType
- func (v *RequestKeyPageIndex) UnmarshalBinary(data []byte) error
- func (v *RequestKeyPageIndex) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *RequestKeyPageIndex) UnmarshalJSON(data []byte) error
- type RequestTxHistory
- func (v *RequestTxHistory) Copy() *RequestTxHistory
- func (v *RequestTxHistory) CopyAsInterface() interface{}
- func (v *RequestTxHistory) Equal(u *RequestTxHistory) bool
- func (v *RequestTxHistory) IsValid() error
- func (v *RequestTxHistory) MarshalBinary() ([]byte, error)
- func (*RequestTxHistory) Type() types.QueryType
- func (v *RequestTxHistory) UnmarshalBinary(data []byte) error
- func (v *RequestTxHistory) UnmarshalBinaryFrom(rd io.Reader) error
- type ResponseAccount
- func (v *ResponseAccount) Copy() *ResponseAccount
- func (v *ResponseAccount) CopyAsInterface() interface{}
- func (v *ResponseAccount) Equal(u *ResponseAccount) bool
- func (v *ResponseAccount) IsValid() error
- func (v *ResponseAccount) MarshalBinary() ([]byte, error)
- func (v *ResponseAccount) MarshalJSON() ([]byte, error)
- func (v *ResponseAccount) UnmarshalBinary(data []byte) error
- func (v *ResponseAccount) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *ResponseAccount) UnmarshalJSON(data []byte) error
- type ResponseByChainId
- type ResponseByTxId
- func (v *ResponseByTxId) Copy() *ResponseByTxId
- func (v *ResponseByTxId) CopyAsInterface() interface{}
- func (v *ResponseByTxId) Equal(u *ResponseByTxId) bool
- func (v *ResponseByTxId) IsValid() error
- func (v *ResponseByTxId) MarshalBinary() ([]byte, error)
- func (v *ResponseByTxId) MarshalJSON() ([]byte, error)
- func (t *ResponseByTxId) Size() int
- func (v *ResponseByTxId) UnmarshalBinary(data []byte) error
- func (v *ResponseByTxId) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *ResponseByTxId) UnmarshalJSON(data []byte) error
- type ResponseChainEntry
- func (v *ResponseChainEntry) Copy() *ResponseChainEntry
- func (v *ResponseChainEntry) CopyAsInterface() interface{}
- func (v *ResponseChainEntry) Equal(u *ResponseChainEntry) bool
- func (v *ResponseChainEntry) IsValid() error
- func (v *ResponseChainEntry) MarshalBinary() ([]byte, error)
- func (v *ResponseChainEntry) MarshalJSON() ([]byte, error)
- func (v *ResponseChainEntry) UnmarshalBinary(data []byte) error
- func (v *ResponseChainEntry) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *ResponseChainEntry) UnmarshalJSON(data []byte) error
- type ResponseChainRange
- func (v *ResponseChainRange) Copy() *ResponseChainRange
- func (v *ResponseChainRange) CopyAsInterface() interface{}
- func (v *ResponseChainRange) Equal(u *ResponseChainRange) bool
- func (v *ResponseChainRange) IsValid() error
- func (v *ResponseChainRange) MarshalBinary() ([]byte, error)
- func (v *ResponseChainRange) MarshalJSON() ([]byte, error)
- func (v *ResponseChainRange) UnmarshalBinary(data []byte) error
- func (v *ResponseChainRange) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *ResponseChainRange) UnmarshalJSON(data []byte) error
- type ResponseDataEntry
- func (v *ResponseDataEntry) Copy() *ResponseDataEntry
- func (v *ResponseDataEntry) CopyAsInterface() interface{}
- func (v *ResponseDataEntry) Equal(u *ResponseDataEntry) bool
- func (v *ResponseDataEntry) IsValid() error
- func (v *ResponseDataEntry) MarshalBinary() ([]byte, error)
- func (v *ResponseDataEntry) MarshalJSON() ([]byte, error)
- func (v *ResponseDataEntry) UnmarshalBinary(data []byte) error
- func (v *ResponseDataEntry) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *ResponseDataEntry) UnmarshalJSON(data []byte) error
- type ResponseDataEntrySet
- func (v *ResponseDataEntrySet) Copy() *ResponseDataEntrySet
- func (v *ResponseDataEntrySet) CopyAsInterface() interface{}
- func (v *ResponseDataEntrySet) Equal(u *ResponseDataEntrySet) bool
- func (v *ResponseDataEntrySet) IsValid() error
- func (v *ResponseDataEntrySet) MarshalBinary() ([]byte, error)
- func (v *ResponseDataEntrySet) UnmarshalBinary(data []byte) error
- func (v *ResponseDataEntrySet) UnmarshalBinaryFrom(rd io.Reader) error
- type ResponseKeyPageIndex
- func (v *ResponseKeyPageIndex) Copy() *ResponseKeyPageIndex
- func (v *ResponseKeyPageIndex) CopyAsInterface() interface{}
- func (v *ResponseKeyPageIndex) Equal(u *ResponseKeyPageIndex) bool
- func (v *ResponseKeyPageIndex) IsValid() error
- func (v *ResponseKeyPageIndex) MarshalBinary() ([]byte, error)
- func (v *ResponseKeyPageIndex) UnmarshalBinary(data []byte) error
- func (v *ResponseKeyPageIndex) UnmarshalBinaryFrom(rd io.Reader) error
- type ResponsePending
- func (v *ResponsePending) Copy() *ResponsePending
- func (v *ResponsePending) CopyAsInterface() interface{}
- func (v *ResponsePending) Equal(u *ResponsePending) bool
- func (v *ResponsePending) IsValid() error
- func (v *ResponsePending) MarshalBinary() ([]byte, error)
- func (v *ResponsePending) MarshalJSON() ([]byte, error)
- func (v *ResponsePending) UnmarshalBinary(data []byte) error
- func (v *ResponsePending) UnmarshalBinaryFrom(rd io.Reader) error
- func (v *ResponsePending) UnmarshalJSON(data []byte) error
- type ResponseTxHistory
- func (v *ResponseTxHistory) Copy() *ResponseTxHistory
- func (v *ResponseTxHistory) CopyAsInterface() interface{}
- func (v *ResponseTxHistory) Equal(u *ResponseTxHistory) bool
- func (v *ResponseTxHistory) IsValid() error
- func (v *ResponseTxHistory) MarshalBinary() ([]byte, error)
- func (v *ResponseTxHistory) UnmarshalBinary(data []byte) error
- func (v *ResponseTxHistory) UnmarshalBinaryFrom(rd io.Reader) error
- type TxReceipt
- func (v *TxReceipt) Copy() *TxReceipt
- func (v *TxReceipt) CopyAsInterface() interface{}
- func (v *TxReceipt) Equal(u *TxReceipt) bool
- func (v *TxReceipt) IsValid() error
- func (v *TxReceipt) MarshalBinary() ([]byte, error)
- func (v *TxReceipt) UnmarshalBinary(data []byte) error
- func (v *TxReceipt) UnmarshalBinaryFrom(rd io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChainState ¶ added in v0.5.1
type ChainState struct { Name string `json:"name,omitempty" form:"name" query:"name" validate:"required"` Type protocol.ChainType `json:"type,omitempty" form:"type" query:"type" validate:"required"` Height uint64 `json:"height,omitempty" form:"height" query:"height" validate:"required"` Roots [][]byte `json:"roots,omitempty" form:"roots" query:"roots" validate:"required"` // contains filtered or unexported fields }
func (*ChainState) Copy ¶ added in v0.5.1
func (v *ChainState) Copy() *ChainState
func (*ChainState) CopyAsInterface ¶ added in v0.5.1
func (v *ChainState) CopyAsInterface() interface{}
func (*ChainState) Equal ¶ added in v0.5.1
func (v *ChainState) Equal(u *ChainState) bool
func (*ChainState) IsValid ¶ added in v0.5.1
func (v *ChainState) IsValid() error
func (*ChainState) MarshalBinary ¶ added in v0.5.1
func (v *ChainState) MarshalBinary() ([]byte, error)
func (*ChainState) MarshalJSON ¶ added in v0.5.1
func (v *ChainState) MarshalJSON() ([]byte, error)
func (*ChainState) UnmarshalBinary ¶ added in v0.5.1
func (v *ChainState) UnmarshalBinary(data []byte) error
func (*ChainState) UnmarshalBinaryFrom ¶ added in v0.5.1
func (v *ChainState) UnmarshalBinaryFrom(rd io.Reader) error
func (*ChainState) UnmarshalJSON ¶ added in v0.5.1
func (v *ChainState) UnmarshalJSON(data []byte) error
type DirectoryQueryResult ¶ added in v0.5.1
type DirectoryQueryResult struct { Entries []string `json:"entries,omitempty" form:"entries" query:"entries"` ExpandedEntries []protocol.Account `json:"expandedEntries,omitempty" form:"expandedEntries" query:"expandedEntries"` Total uint64 `json:"total" form:"total" query:"total" validate:"required"` // contains filtered or unexported fields }
func (*DirectoryQueryResult) Copy ¶ added in v0.5.1
func (v *DirectoryQueryResult) Copy() *DirectoryQueryResult
func (*DirectoryQueryResult) CopyAsInterface ¶ added in v0.5.1
func (v *DirectoryQueryResult) CopyAsInterface() interface{}
func (*DirectoryQueryResult) Equal ¶ added in v0.5.1
func (v *DirectoryQueryResult) Equal(u *DirectoryQueryResult) bool
func (*DirectoryQueryResult) IsValid ¶ added in v0.5.1
func (v *DirectoryQueryResult) IsValid() error
func (*DirectoryQueryResult) MarshalBinary ¶ added in v0.5.1
func (v *DirectoryQueryResult) MarshalBinary() ([]byte, error)
func (*DirectoryQueryResult) MarshalJSON ¶ added in v0.5.1
func (v *DirectoryQueryResult) MarshalJSON() ([]byte, error)
func (*DirectoryQueryResult) UnmarshalBinary ¶ added in v0.5.1
func (v *DirectoryQueryResult) UnmarshalBinary(data []byte) error
func (*DirectoryQueryResult) UnmarshalBinaryFrom ¶ added in v0.5.1
func (v *DirectoryQueryResult) UnmarshalBinaryFrom(rd io.Reader) error
func (*DirectoryQueryResult) UnmarshalJSON ¶ added in v0.5.1
func (v *DirectoryQueryResult) UnmarshalJSON(data []byte) error
type MultiResponse ¶
type MultiResponse struct { Type string `json:"type,omitempty" form:"type" query:"type" validate:"required"` Items []string `json:"items,omitempty" form:"items" query:"items" validate:"required"` Start uint64 `json:"start" form:"start" query:"start" validate:"required"` Count uint64 `json:"count" form:"count" query:"count" validate:"required"` Total uint64 `json:"total" form:"total" query:"total" validate:"required"` // contains filtered or unexported fields }
func (*MultiResponse) IsValid ¶
func (v *MultiResponse) IsValid() error
func (*MultiResponse) MarshalBinary ¶
func (v *MultiResponse) MarshalBinary() ([]byte, error)
func (*MultiResponse) UnmarshalBinary ¶
func (v *MultiResponse) UnmarshalBinary(data []byte) error
func (*MultiResponse) UnmarshalBinaryFrom ¶
func (v *MultiResponse) UnmarshalBinaryFrom(rd io.Reader) error
type Query ¶
type Query struct { Type types.QueryType RouteId uint64 Content []byte //currently this is a transaction hash, but will make it more focused to the chain it is querying, so this will probably act more like general transaction does for transactions. }
Query will route a query message to a chain state
func (*Query) MarshalBinary ¶
func (*Query) UnmarshalBinary ¶
type RequestByChainId ¶
func (*RequestByChainId) MarshalBinary ¶
func (r *RequestByChainId) MarshalBinary() ([]byte, error)
func (*RequestByChainId) Type ¶
func (*RequestByChainId) Type() types.QueryType
func (*RequestByChainId) UnmarshalBinary ¶
func (r *RequestByChainId) UnmarshalBinary(data []byte) (err error)
type RequestByTxId ¶
func (*RequestByTxId) MarshalBinary ¶
func (t *RequestByTxId) MarshalBinary() (data []byte, err error)
func (*RequestByTxId) Type ¶
func (*RequestByTxId) Type() types.QueryType
func (*RequestByTxId) UnmarshalBinary ¶
func (t *RequestByTxId) UnmarshalBinary(data []byte) (err error)
type RequestByUrl ¶
func (*RequestByUrl) MarshalBinary ¶
func (r *RequestByUrl) MarshalBinary() ([]byte, error)
func (*RequestByUrl) Type ¶
func (*RequestByUrl) Type() types.QueryType
func (*RequestByUrl) UnmarshalBinary ¶
func (r *RequestByUrl) UnmarshalBinary(data []byte) (err error)
type RequestDataEntry ¶
type RequestDataEntry struct { Url *url.URL `json:"url,omitempty" form:"url" query:"url" validate:"required"` EntryHash [32]byte `json:"entryHash,omitempty" form:"entryHash" query:"entryHash"` // contains filtered or unexported fields }
func (*RequestDataEntry) Copy ¶ added in v0.5.1
func (v *RequestDataEntry) Copy() *RequestDataEntry
func (*RequestDataEntry) CopyAsInterface ¶ added in v0.5.1
func (v *RequestDataEntry) CopyAsInterface() interface{}
func (*RequestDataEntry) Equal ¶ added in v0.5.1
func (v *RequestDataEntry) Equal(u *RequestDataEntry) bool
func (*RequestDataEntry) IsValid ¶ added in v0.5.1
func (v *RequestDataEntry) IsValid() error
func (*RequestDataEntry) MarshalBinary ¶ added in v0.5.1
func (v *RequestDataEntry) MarshalBinary() ([]byte, error)
func (*RequestDataEntry) MarshalJSON ¶ added in v0.5.1
func (v *RequestDataEntry) MarshalJSON() ([]byte, error)
func (*RequestDataEntry) Type ¶
func (*RequestDataEntry) Type() types.QueryType
func (*RequestDataEntry) UnmarshalBinary ¶ added in v0.5.1
func (v *RequestDataEntry) UnmarshalBinary(data []byte) error
func (*RequestDataEntry) UnmarshalBinaryFrom ¶ added in v0.5.1
func (v *RequestDataEntry) UnmarshalBinaryFrom(rd io.Reader) error
func (*RequestDataEntry) UnmarshalJSON ¶ added in v0.5.1
func (v *RequestDataEntry) UnmarshalJSON(data []byte) error
type RequestDataEntrySet ¶
type RequestDataEntrySet struct { Url *url.URL `json:"url,omitempty" form:"url" query:"url" validate:"required"` Start uint64 `json:"start,omitempty" form:"start" query:"start" validate:"required"` Count uint64 `json:"count,omitempty" form:"count" query:"count" validate:"required"` ExpandChains bool `json:"expandChains,omitempty" form:"expandChains" query:"expandChains"` // contains filtered or unexported fields }
func (*RequestDataEntrySet) Copy ¶ added in v0.5.1
func (v *RequestDataEntrySet) Copy() *RequestDataEntrySet
func (*RequestDataEntrySet) CopyAsInterface ¶ added in v0.5.1
func (v *RequestDataEntrySet) CopyAsInterface() interface{}
func (*RequestDataEntrySet) Equal ¶ added in v0.5.1
func (v *RequestDataEntrySet) Equal(u *RequestDataEntrySet) bool
func (*RequestDataEntrySet) IsValid ¶ added in v0.5.1
func (v *RequestDataEntrySet) IsValid() error
func (*RequestDataEntrySet) MarshalBinary ¶ added in v0.5.1
func (v *RequestDataEntrySet) MarshalBinary() ([]byte, error)
func (*RequestDataEntrySet) Type ¶
func (*RequestDataEntrySet) Type() types.QueryType
func (*RequestDataEntrySet) UnmarshalBinary ¶ added in v0.5.1
func (v *RequestDataEntrySet) UnmarshalBinary(data []byte) error
func (*RequestDataEntrySet) UnmarshalBinaryFrom ¶ added in v0.5.1
func (v *RequestDataEntrySet) UnmarshalBinaryFrom(rd io.Reader) error
type RequestDirectory ¶
type RequestDirectory struct { RequestByUrl Start uint64 Limit uint64 ExpandChains bool }
func (*RequestDirectory) MarshalBinary ¶
func (r *RequestDirectory) MarshalBinary() ([]byte, error)
func (*RequestDirectory) Type ¶
func (*RequestDirectory) Type() types.QueryType
func (*RequestDirectory) UnmarshalBinary ¶
func (r *RequestDirectory) UnmarshalBinary(data []byte) (err error)
type RequestKeyPageIndex ¶
type RequestKeyPageIndex struct { Url *url.URL `json:"url,omitempty" form:"url" query:"url" validate:"required"` Key []byte `json:"key,omitempty" form:"key" query:"key" validate:"required"` // contains filtered or unexported fields }
func (*RequestKeyPageIndex) Copy ¶ added in v0.5.1
func (v *RequestKeyPageIndex) Copy() *RequestKeyPageIndex
func (*RequestKeyPageIndex) CopyAsInterface ¶ added in v0.5.1
func (v *RequestKeyPageIndex) CopyAsInterface() interface{}
func (*RequestKeyPageIndex) Equal ¶
func (v *RequestKeyPageIndex) Equal(u *RequestKeyPageIndex) bool
func (*RequestKeyPageIndex) IsValid ¶
func (v *RequestKeyPageIndex) IsValid() error
func (*RequestKeyPageIndex) MarshalBinary ¶
func (v *RequestKeyPageIndex) MarshalBinary() ([]byte, error)
func (*RequestKeyPageIndex) MarshalJSON ¶
func (v *RequestKeyPageIndex) MarshalJSON() ([]byte, error)
func (*RequestKeyPageIndex) Type ¶
func (*RequestKeyPageIndex) Type() types.QueryType
func (*RequestKeyPageIndex) UnmarshalBinary ¶
func (v *RequestKeyPageIndex) UnmarshalBinary(data []byte) error
func (*RequestKeyPageIndex) UnmarshalBinaryFrom ¶
func (v *RequestKeyPageIndex) UnmarshalBinaryFrom(rd io.Reader) error
func (*RequestKeyPageIndex) UnmarshalJSON ¶
func (v *RequestKeyPageIndex) UnmarshalJSON(data []byte) error
type RequestTxHistory ¶
type RequestTxHistory struct { Account *url.URL `json:"account,omitempty" form:"account" query:"account" validate:"required"` Start uint64 `json:"start,omitempty" form:"start" query:"start" validate:"required"` Limit uint64 `json:"limit,omitempty" form:"limit" query:"limit" validate:"required"` // contains filtered or unexported fields }
func (*RequestTxHistory) Copy ¶ added in v0.5.1
func (v *RequestTxHistory) Copy() *RequestTxHistory
func (*RequestTxHistory) CopyAsInterface ¶ added in v0.5.1
func (v *RequestTxHistory) CopyAsInterface() interface{}
func (*RequestTxHistory) Equal ¶ added in v0.5.1
func (v *RequestTxHistory) Equal(u *RequestTxHistory) bool
func (*RequestTxHistory) IsValid ¶ added in v0.5.1
func (v *RequestTxHistory) IsValid() error
func (*RequestTxHistory) MarshalBinary ¶
func (v *RequestTxHistory) MarshalBinary() ([]byte, error)
func (*RequestTxHistory) Type ¶
func (*RequestTxHistory) Type() types.QueryType
func (*RequestTxHistory) UnmarshalBinary ¶
func (v *RequestTxHistory) UnmarshalBinary(data []byte) error
func (*RequestTxHistory) UnmarshalBinaryFrom ¶ added in v0.5.1
func (v *RequestTxHistory) UnmarshalBinaryFrom(rd io.Reader) error
type ResponseAccount ¶ added in v0.5.1
type ResponseAccount struct { Account protocol.Account `json:"account,omitempty" form:"account" query:"account" validate:"required"` ChainState []ChainState `json:"chainState,omitempty" form:"chainState" query:"chainState" validate:"required"` // contains filtered or unexported fields }
func (*ResponseAccount) Copy ¶ added in v0.5.1
func (v *ResponseAccount) Copy() *ResponseAccount
func (*ResponseAccount) CopyAsInterface ¶ added in v0.5.1
func (v *ResponseAccount) CopyAsInterface() interface{}
func (*ResponseAccount) Equal ¶ added in v0.5.1
func (v *ResponseAccount) Equal(u *ResponseAccount) bool
func (*ResponseAccount) IsValid ¶ added in v0.5.1
func (v *ResponseAccount) IsValid() error
func (*ResponseAccount) MarshalBinary ¶ added in v0.5.1
func (v *ResponseAccount) MarshalBinary() ([]byte, error)
func (*ResponseAccount) MarshalJSON ¶ added in v0.5.1
func (v *ResponseAccount) MarshalJSON() ([]byte, error)
func (*ResponseAccount) UnmarshalBinary ¶ added in v0.5.1
func (v *ResponseAccount) UnmarshalBinary(data []byte) error
func (*ResponseAccount) UnmarshalBinaryFrom ¶ added in v0.5.1
func (v *ResponseAccount) UnmarshalBinaryFrom(rd io.Reader) error
func (*ResponseAccount) UnmarshalJSON ¶ added in v0.5.1
func (v *ResponseAccount) UnmarshalJSON(data []byte) error
type ResponseByChainId ¶
func (*ResponseByChainId) MarshalBinary ¶
func (r *ResponseByChainId) MarshalBinary() ([]byte, error)
func (*ResponseByChainId) UnmarshalBinary ¶
func (r *ResponseByChainId) UnmarshalBinary(data []byte) (err error)
type ResponseByTxId ¶
type ResponseByTxId struct { TxId [32]byte `json:"txId,omitempty" form:"txId" query:"txId" validate:"required"` Envelope *protocol.Envelope `json:"envelope,omitempty" form:"envelope" query:"envelope" validate:"required"` Status *protocol.TransactionStatus `json:"status,omitempty" form:"status" query:"status" validate:"required"` TxSynthTxIds []byte `json:"txSynthTxIds,omitempty" form:"txSynthTxIds" query:"txSynthTxIds" validate:"required"` Height int64 `json:"height" form:"height" query:"height" validate:"required"` ChainState [][]byte `json:"chainState,omitempty" form:"chainState" query:"chainState" validate:"required"` Receipts []*TxReceipt `json:"receipts,omitempty" form:"receipts" query:"receipts" validate:"required"` SignatureThreshold uint64 `json:"signatureThreshold,omitempty" form:"signatureThreshold" query:"signatureThreshold" validate:"required"` Invalidated bool `json:"invalidated,omitempty" form:"invalidated" query:"invalidated" validate:"required"` // contains filtered or unexported fields }
func (*ResponseByTxId) Copy ¶ added in v0.5.1
func (v *ResponseByTxId) Copy() *ResponseByTxId
func (*ResponseByTxId) CopyAsInterface ¶ added in v0.5.1
func (v *ResponseByTxId) CopyAsInterface() interface{}
func (*ResponseByTxId) Equal ¶
func (v *ResponseByTxId) Equal(u *ResponseByTxId) bool
func (*ResponseByTxId) IsValid ¶
func (v *ResponseByTxId) IsValid() error
func (*ResponseByTxId) MarshalBinary ¶
func (v *ResponseByTxId) MarshalBinary() ([]byte, error)
func (*ResponseByTxId) MarshalJSON ¶
func (v *ResponseByTxId) MarshalJSON() ([]byte, error)
func (*ResponseByTxId) Size ¶
func (t *ResponseByTxId) Size() int
func (*ResponseByTxId) UnmarshalBinary ¶
func (v *ResponseByTxId) UnmarshalBinary(data []byte) error
func (*ResponseByTxId) UnmarshalBinaryFrom ¶
func (v *ResponseByTxId) UnmarshalBinaryFrom(rd io.Reader) error
func (*ResponseByTxId) UnmarshalJSON ¶
func (v *ResponseByTxId) UnmarshalJSON(data []byte) error
type ResponseChainEntry ¶
type ResponseChainEntry struct { Height int64 `json:"height" form:"height" query:"height" validate:"required"` Entry []byte `json:"entry,omitempty" form:"entry" query:"entry" validate:"required"` State [][]byte `json:"state,omitempty" form:"state" query:"state" validate:"required"` // contains filtered or unexported fields }
func (*ResponseChainEntry) Copy ¶ added in v0.5.1
func (v *ResponseChainEntry) Copy() *ResponseChainEntry
func (*ResponseChainEntry) CopyAsInterface ¶ added in v0.5.1
func (v *ResponseChainEntry) CopyAsInterface() interface{}
func (*ResponseChainEntry) Equal ¶
func (v *ResponseChainEntry) Equal(u *ResponseChainEntry) bool
func (*ResponseChainEntry) IsValid ¶
func (v *ResponseChainEntry) IsValid() error
func (*ResponseChainEntry) MarshalBinary ¶
func (v *ResponseChainEntry) MarshalBinary() ([]byte, error)
func (*ResponseChainEntry) MarshalJSON ¶
func (v *ResponseChainEntry) MarshalJSON() ([]byte, error)
func (*ResponseChainEntry) UnmarshalBinary ¶
func (v *ResponseChainEntry) UnmarshalBinary(data []byte) error
func (*ResponseChainEntry) UnmarshalBinaryFrom ¶
func (v *ResponseChainEntry) UnmarshalBinaryFrom(rd io.Reader) error
func (*ResponseChainEntry) UnmarshalJSON ¶
func (v *ResponseChainEntry) UnmarshalJSON(data []byte) error
type ResponseChainRange ¶
type ResponseChainRange struct { Start int64 `json:"start" form:"start" query:"start" validate:"required"` End int64 `json:"end" form:"end" query:"end" validate:"required"` Total int64 `json:"total" form:"total" query:"total" validate:"required"` Entries [][]byte `json:"entries,omitempty" form:"entries" query:"entries" validate:"required"` // contains filtered or unexported fields }
func (*ResponseChainRange) Copy ¶ added in v0.5.1
func (v *ResponseChainRange) Copy() *ResponseChainRange
func (*ResponseChainRange) CopyAsInterface ¶ added in v0.5.1
func (v *ResponseChainRange) CopyAsInterface() interface{}
func (*ResponseChainRange) Equal ¶
func (v *ResponseChainRange) Equal(u *ResponseChainRange) bool
func (*ResponseChainRange) IsValid ¶
func (v *ResponseChainRange) IsValid() error
func (*ResponseChainRange) MarshalBinary ¶
func (v *ResponseChainRange) MarshalBinary() ([]byte, error)
func (*ResponseChainRange) MarshalJSON ¶
func (v *ResponseChainRange) MarshalJSON() ([]byte, error)
func (*ResponseChainRange) UnmarshalBinary ¶
func (v *ResponseChainRange) UnmarshalBinary(data []byte) error
func (*ResponseChainRange) UnmarshalBinaryFrom ¶
func (v *ResponseChainRange) UnmarshalBinaryFrom(rd io.Reader) error
func (*ResponseChainRange) UnmarshalJSON ¶
func (v *ResponseChainRange) UnmarshalJSON(data []byte) error
type ResponseDataEntry ¶ added in v0.5.1
type ResponseDataEntry struct { EntryHash [32]byte `json:"entryHash,omitempty" form:"entryHash" query:"entryHash" validate:"required"` Entry protocol.DataEntry `json:"entry,omitempty" form:"entry" query:"entry" validate:"required"` // contains filtered or unexported fields }
func (*ResponseDataEntry) Copy ¶ added in v0.5.1
func (v *ResponseDataEntry) Copy() *ResponseDataEntry
func (*ResponseDataEntry) CopyAsInterface ¶ added in v0.5.1
func (v *ResponseDataEntry) CopyAsInterface() interface{}
func (*ResponseDataEntry) Equal ¶ added in v0.5.1
func (v *ResponseDataEntry) Equal(u *ResponseDataEntry) bool
func (*ResponseDataEntry) IsValid ¶ added in v0.5.1
func (v *ResponseDataEntry) IsValid() error
func (*ResponseDataEntry) MarshalBinary ¶ added in v0.5.1
func (v *ResponseDataEntry) MarshalBinary() ([]byte, error)
func (*ResponseDataEntry) MarshalJSON ¶ added in v0.5.1
func (v *ResponseDataEntry) MarshalJSON() ([]byte, error)
func (*ResponseDataEntry) UnmarshalBinary ¶ added in v0.5.1
func (v *ResponseDataEntry) UnmarshalBinary(data []byte) error
func (*ResponseDataEntry) UnmarshalBinaryFrom ¶ added in v0.5.1
func (v *ResponseDataEntry) UnmarshalBinaryFrom(rd io.Reader) error
func (*ResponseDataEntry) UnmarshalJSON ¶ added in v0.5.1
func (v *ResponseDataEntry) UnmarshalJSON(data []byte) error
type ResponseDataEntrySet ¶ added in v0.5.1
type ResponseDataEntrySet struct { DataEntries []ResponseDataEntry `json:"dataEntries,omitempty" form:"dataEntries" query:"dataEntries" validate:"required"` Total uint64 `json:"total,omitempty" form:"total" query:"total" validate:"required"` // contains filtered or unexported fields }
func (*ResponseDataEntrySet) Copy ¶ added in v0.5.1
func (v *ResponseDataEntrySet) Copy() *ResponseDataEntrySet
func (*ResponseDataEntrySet) CopyAsInterface ¶ added in v0.5.1
func (v *ResponseDataEntrySet) CopyAsInterface() interface{}
func (*ResponseDataEntrySet) Equal ¶ added in v0.5.1
func (v *ResponseDataEntrySet) Equal(u *ResponseDataEntrySet) bool
func (*ResponseDataEntrySet) IsValid ¶ added in v0.5.1
func (v *ResponseDataEntrySet) IsValid() error
func (*ResponseDataEntrySet) MarshalBinary ¶ added in v0.5.1
func (v *ResponseDataEntrySet) MarshalBinary() ([]byte, error)
func (*ResponseDataEntrySet) UnmarshalBinary ¶ added in v0.5.1
func (v *ResponseDataEntrySet) UnmarshalBinary(data []byte) error
func (*ResponseDataEntrySet) UnmarshalBinaryFrom ¶ added in v0.5.1
func (v *ResponseDataEntrySet) UnmarshalBinaryFrom(rd io.Reader) error
type ResponseKeyPageIndex ¶
type ResponseKeyPageIndex struct { KeyBook *url.URL `json:"keyBook,omitempty" form:"keyBook" query:"keyBook" validate:"required"` KeyPage *url.URL `json:"keyPage,omitempty" form:"keyPage" query:"keyPage" validate:"required"` Index uint64 `json:"index" form:"index" query:"index" validate:"required"` // contains filtered or unexported fields }
func (*ResponseKeyPageIndex) Copy ¶ added in v0.5.1
func (v *ResponseKeyPageIndex) Copy() *ResponseKeyPageIndex
func (*ResponseKeyPageIndex) CopyAsInterface ¶ added in v0.5.1
func (v *ResponseKeyPageIndex) CopyAsInterface() interface{}
func (*ResponseKeyPageIndex) Equal ¶
func (v *ResponseKeyPageIndex) Equal(u *ResponseKeyPageIndex) bool
func (*ResponseKeyPageIndex) IsValid ¶
func (v *ResponseKeyPageIndex) IsValid() error
func (*ResponseKeyPageIndex) MarshalBinary ¶
func (v *ResponseKeyPageIndex) MarshalBinary() ([]byte, error)
func (*ResponseKeyPageIndex) UnmarshalBinary ¶
func (v *ResponseKeyPageIndex) UnmarshalBinary(data []byte) error
func (*ResponseKeyPageIndex) UnmarshalBinaryFrom ¶
func (v *ResponseKeyPageIndex) UnmarshalBinaryFrom(rd io.Reader) error
type ResponsePending ¶
type ResponsePending struct { Transactions [][32]byte `json:"transactions,omitempty" form:"transactions" query:"transactions" validate:"required"` // contains filtered or unexported fields }
func (*ResponsePending) Copy ¶ added in v0.5.1
func (v *ResponsePending) Copy() *ResponsePending
func (*ResponsePending) CopyAsInterface ¶ added in v0.5.1
func (v *ResponsePending) CopyAsInterface() interface{}
func (*ResponsePending) Equal ¶
func (v *ResponsePending) Equal(u *ResponsePending) bool
func (*ResponsePending) IsValid ¶
func (v *ResponsePending) IsValid() error
func (*ResponsePending) MarshalBinary ¶
func (v *ResponsePending) MarshalBinary() ([]byte, error)
func (*ResponsePending) MarshalJSON ¶
func (v *ResponsePending) MarshalJSON() ([]byte, error)
func (*ResponsePending) UnmarshalBinary ¶
func (v *ResponsePending) UnmarshalBinary(data []byte) error
func (*ResponsePending) UnmarshalBinaryFrom ¶
func (v *ResponsePending) UnmarshalBinaryFrom(rd io.Reader) error
func (*ResponsePending) UnmarshalJSON ¶
func (v *ResponsePending) UnmarshalJSON(data []byte) error
type ResponseTxHistory ¶
type ResponseTxHistory struct { Start uint64 `json:"start" form:"start" query:"start" validate:"required"` End uint64 `json:"end" form:"end" query:"end" validate:"required"` Total uint64 `json:"total" form:"total" query:"total" validate:"required"` Transactions []ResponseByTxId `json:"transactions,omitempty" form:"transactions" query:"transactions" validate:"required"` // contains filtered or unexported fields }
func (*ResponseTxHistory) Copy ¶ added in v0.5.1
func (v *ResponseTxHistory) Copy() *ResponseTxHistory
func (*ResponseTxHistory) CopyAsInterface ¶ added in v0.5.1
func (v *ResponseTxHistory) CopyAsInterface() interface{}
func (*ResponseTxHistory) Equal ¶
func (v *ResponseTxHistory) Equal(u *ResponseTxHistory) bool
func (*ResponseTxHistory) IsValid ¶
func (v *ResponseTxHistory) IsValid() error
func (*ResponseTxHistory) MarshalBinary ¶
func (v *ResponseTxHistory) MarshalBinary() ([]byte, error)
func (*ResponseTxHistory) UnmarshalBinary ¶
func (v *ResponseTxHistory) UnmarshalBinary(data []byte) error
func (*ResponseTxHistory) UnmarshalBinaryFrom ¶
func (v *ResponseTxHistory) UnmarshalBinaryFrom(rd io.Reader) error
type TxReceipt ¶
type TxReceipt struct { Account *url.URL `json:"account,omitempty" form:"account" query:"account" validate:"required"` Chain string `json:"chain,omitempty" form:"chain" query:"chain" validate:"required"` Receipt protocol.Receipt `json:"receipt,omitempty" form:"receipt" query:"receipt" validate:"required"` Error string `json:"error,omitempty" form:"error" query:"error" validate:"required"` // contains filtered or unexported fields }
func (*TxReceipt) CopyAsInterface ¶ added in v0.5.1
func (v *TxReceipt) CopyAsInterface() interface{}
func (*TxReceipt) MarshalBinary ¶
func (*TxReceipt) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.