query

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualRequest

func EqualRequest(a, b Request) bool

EqualRequest is used to compare the values of the union

Types

type BlockFilterMode

type BlockFilterMode uint64

BlockFilterMode specifies which blocks should be excluded

const BlockFilterModeExcludeEmpty BlockFilterMode = 1

BlockFilterModeExcludeEmpty exclude empty blocks.

const BlockFilterModeExcludeNone BlockFilterMode = 0

BlockFilterModeExcludeNone return all blocks including empty ones.

func BlockFilterModeByName

func BlockFilterModeByName(name string) (BlockFilterMode, bool)

BlockFilterModeByName returns the named Block Filter Mode.

func (BlockFilterMode) GetEnumValue

func (v BlockFilterMode) GetEnumValue() uint64

GetEnumValue returns the value of the Block Filter Mode

func (BlockFilterMode) MarshalJSON

func (v BlockFilterMode) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Block Filter Mode to JSON as a string.

func (*BlockFilterMode) SetEnumValue

func (v *BlockFilterMode) SetEnumValue(id uint64) bool

SetEnumValue sets the value. SetEnumValue returns false if the value is invalid.

func (BlockFilterMode) String

func (v BlockFilterMode) String() string

String returns the name of the Block Filter Mode.

func (*BlockFilterMode) UnmarshalJSON

func (v *BlockFilterMode) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals the Block Filter Mode from JSON as a string.

type ChainState

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

func (v *ChainState) Copy() *ChainState

func (*ChainState) CopyAsInterface

func (v *ChainState) CopyAsInterface() interface{}

func (*ChainState) Equal

func (v *ChainState) Equal(u *ChainState) bool

func (*ChainState) IsValid

func (v *ChainState) IsValid() error

func (*ChainState) MarshalBinary

func (v *ChainState) MarshalBinary() ([]byte, error)

func (*ChainState) MarshalJSON

func (v *ChainState) MarshalJSON() ([]byte, error)

func (*ChainState) UnmarshalBinary

func (v *ChainState) UnmarshalBinary(data []byte) error

func (*ChainState) UnmarshalBinaryFrom

func (v *ChainState) UnmarshalBinaryFrom(rd io.Reader) error

func (*ChainState) UnmarshalJSON

func (v *ChainState) UnmarshalJSON(data []byte) error

type DirectoryQueryResult

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

func (*DirectoryQueryResult) CopyAsInterface

func (v *DirectoryQueryResult) CopyAsInterface() interface{}

func (*DirectoryQueryResult) Equal

func (*DirectoryQueryResult) IsValid

func (v *DirectoryQueryResult) IsValid() error

func (*DirectoryQueryResult) MarshalBinary

func (v *DirectoryQueryResult) MarshalBinary() ([]byte, error)

func (*DirectoryQueryResult) MarshalJSON

func (v *DirectoryQueryResult) MarshalJSON() ([]byte, error)

func (*DirectoryQueryResult) UnmarshalBinary

func (v *DirectoryQueryResult) UnmarshalBinary(data []byte) error

func (*DirectoryQueryResult) UnmarshalBinaryFrom

func (v *DirectoryQueryResult) UnmarshalBinaryFrom(rd io.Reader) error

func (*DirectoryQueryResult) UnmarshalJSON

func (v *DirectoryQueryResult) UnmarshalJSON(data []byte) error

type GeneralReceipt

type GeneralReceipt struct {
	LocalBlock     uint64          `json:"localBlock,omitempty" form:"localBlock" query:"localBlock" validate:"required"`
	LocalBlockTime *time.Time      `json:"localBlockTime,omitempty" form:"localBlockTime" query:"localBlockTime" validate:"required"`
	DirectoryBlock uint64          `json:"directoryBlock,omitempty" form:"directoryBlock" query:"directoryBlock" validate:"required"`
	MajorBlock     uint64          `json:"majorBlock,omitempty" form:"majorBlock" query:"majorBlock" validate:"required"`
	Proof          managed.Receipt `json:"proof,omitempty" form:"proof" query:"proof" validate:"required"`
	Error          string          `json:"error,omitempty" form:"error" query:"error" validate:"required"`
	// contains filtered or unexported fields
}

func (*GeneralReceipt) Copy

func (v *GeneralReceipt) Copy() *GeneralReceipt

func (*GeneralReceipt) CopyAsInterface

func (v *GeneralReceipt) CopyAsInterface() interface{}

func (*GeneralReceipt) Equal

func (v *GeneralReceipt) Equal(u *GeneralReceipt) bool

func (*GeneralReceipt) IsValid

func (v *GeneralReceipt) IsValid() error

func (*GeneralReceipt) MarshalBinary

func (v *GeneralReceipt) MarshalBinary() ([]byte, error)

func (*GeneralReceipt) MarshalJSON

func (v *GeneralReceipt) MarshalJSON() ([]byte, error)

func (*GeneralReceipt) UnmarshalBinary

func (v *GeneralReceipt) UnmarshalBinary(data []byte) error

func (*GeneralReceipt) UnmarshalBinaryFrom

func (v *GeneralReceipt) UnmarshalBinaryFrom(rd io.Reader) error

func (*GeneralReceipt) UnmarshalJSON

func (v *GeneralReceipt) 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) MarshalJSON

func (v *MultiResponse) MarshalJSON() ([]byte, error)

func (*MultiResponse) UnmarshalBinary

func (v *MultiResponse) UnmarshalBinary(data []byte) error

func (*MultiResponse) UnmarshalBinaryFrom

func (v *MultiResponse) UnmarshalBinaryFrom(rd io.Reader) error

func (*MultiResponse) UnmarshalJSON

func (v *MultiResponse) UnmarshalJSON(data []byte) error

type QueryType

type QueryType uint64
const QueryTypeChainId QueryType = 2

QueryTypeChainId Query by chain id.

const QueryTypeData QueryType = 6

QueryTypeData Query a specific data entry using the url and optional entry hash.

const QueryTypeDataSet QueryType = 7

QueryTypeDataSet Query a set of data given pagination parameters for a given URL.

const QueryTypeDirectoryUrl QueryType = 5

QueryTypeDirectoryUrl Query directory by URL.

const QueryTypeKeyPageIndex QueryType = 8

QueryTypeKeyPageIndex Query key page index.

const QueryTypeMajorBlocks QueryType = 11

QueryTypeMajorBlocks Query major blocks.

const QueryTypeMinorBlocks QueryType = 9

QueryTypeMinorBlocks Query minor blocks.

const QueryTypeSynth QueryType = 10

QueryTypeSynth Query by synthetic transaction sequence number.

const QueryTypeTxHistory QueryType = 4

QueryTypeTxHistory Query transaction history.

const QueryTypeTxId QueryType = 3

QueryTypeTxId Query tx and pending chains By TxId.

const QueryTypeUnknown QueryType = 0

QueryTypeUnknown .

const QueryTypeUrl QueryType = 1

QueryTypeUrl Query by Url.

func QueryTypeByName

func QueryTypeByName(name string) (QueryType, bool)

QueryTypeByName returns the named Query Type.

func UnmarshalQueryType

func UnmarshalQueryType(r io.Reader) (QueryType, error)

UnmarshalQueryType unmarshals the QueryType from the start of a Request.

func (QueryType) GetEnumValue

func (v QueryType) GetEnumValue() uint64

GetEnumValue returns the value of the Query Type

func (QueryType) MarshalJSON

func (v QueryType) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Query Type to JSON as a string.

func (*QueryType) SetEnumValue

func (v *QueryType) SetEnumValue(id uint64) bool

SetEnumValue sets the value. SetEnumValue returns false if the value is invalid.

func (QueryType) String

func (v QueryType) String() string

String returns the name of the Query Type.

func (*QueryType) UnmarshalJSON

func (v *QueryType) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals the Query Type from JSON as a string.

type Request

type Request interface {
	encoding.BinaryValue
	Type() QueryType
}

func NewRequest

func NewRequest(typ QueryType) (Request, error)

NewRequest creates a new Request for the specified QueryType.

func UnmarshalRequest

func UnmarshalRequest(data []byte) (Request, error)

UnmarshalRequest unmarshals a Request.

func UnmarshalRequestFrom

func UnmarshalRequestFrom(rd io.ReadSeeker) (Request, error)

UnmarshalRequestFrom unmarshals a Request.

func UnmarshalRequestJSON

func UnmarshalRequestJSON(data []byte) (Request, error)

UnmarshalRequestJson unmarshals a Request.

type RequestByChainId

type RequestByChainId struct {
	ChainId [32]byte `json:"chainId,omitempty" form:"chainId" query:"chainId" validate:"required"`
	// contains filtered or unexported fields
}

func (*RequestByChainId) Copy

func (*RequestByChainId) CopyAsInterface

func (v *RequestByChainId) CopyAsInterface() interface{}

func (*RequestByChainId) Equal

func (v *RequestByChainId) Equal(u *RequestByChainId) bool

func (*RequestByChainId) IsValid

func (v *RequestByChainId) IsValid() error

func (*RequestByChainId) MarshalBinary

func (v *RequestByChainId) MarshalBinary() ([]byte, error)

func (*RequestByChainId) MarshalJSON

func (v *RequestByChainId) MarshalJSON() ([]byte, error)

func (*RequestByChainId) Type

func (*RequestByChainId) Type() QueryType

func (*RequestByChainId) UnmarshalBinary

func (v *RequestByChainId) UnmarshalBinary(data []byte) error

func (*RequestByChainId) UnmarshalBinaryFrom

func (v *RequestByChainId) UnmarshalBinaryFrom(rd io.Reader) error

func (*RequestByChainId) UnmarshalJSON

func (v *RequestByChainId) UnmarshalJSON(data []byte) error

type RequestByTxId

type RequestByTxId struct {
	TxId [32]byte `json:"txId,omitempty" form:"txId" query:"txId" validate:"required"`
	// contains filtered or unexported fields
}

func (*RequestByTxId) Copy

func (v *RequestByTxId) Copy() *RequestByTxId

func (*RequestByTxId) CopyAsInterface

func (v *RequestByTxId) CopyAsInterface() interface{}

func (*RequestByTxId) Equal

func (v *RequestByTxId) Equal(u *RequestByTxId) bool

func (*RequestByTxId) IsValid

func (v *RequestByTxId) IsValid() error

func (*RequestByTxId) MarshalBinary

func (v *RequestByTxId) MarshalBinary() ([]byte, error)

func (*RequestByTxId) MarshalJSON

func (v *RequestByTxId) MarshalJSON() ([]byte, error)

func (*RequestByTxId) Type

func (*RequestByTxId) Type() QueryType

func (*RequestByTxId) UnmarshalBinary

func (v *RequestByTxId) UnmarshalBinary(data []byte) error

func (*RequestByTxId) UnmarshalBinaryFrom

func (v *RequestByTxId) UnmarshalBinaryFrom(rd io.Reader) error

func (*RequestByTxId) UnmarshalJSON

func (v *RequestByTxId) UnmarshalJSON(data []byte) error

type RequestByUrl

type RequestByUrl struct {
	Url     *url.URL `json:"url,omitempty" form:"url" query:"url" validate:"required"`
	Scratch bool     `json:"scratch,omitempty" form:"scratch" query:"scratch"`
	// contains filtered or unexported fields
}

func (*RequestByUrl) Copy

func (v *RequestByUrl) Copy() *RequestByUrl

func (*RequestByUrl) CopyAsInterface

func (v *RequestByUrl) CopyAsInterface() interface{}

func (*RequestByUrl) Equal

func (v *RequestByUrl) Equal(u *RequestByUrl) bool

func (*RequestByUrl) IsValid

func (v *RequestByUrl) IsValid() error

func (*RequestByUrl) MarshalBinary

func (v *RequestByUrl) MarshalBinary() ([]byte, error)

func (*RequestByUrl) MarshalJSON

func (v *RequestByUrl) MarshalJSON() ([]byte, error)

func (*RequestByUrl) Type

func (*RequestByUrl) Type() QueryType

func (*RequestByUrl) UnmarshalBinary

func (v *RequestByUrl) UnmarshalBinary(data []byte) error

func (*RequestByUrl) UnmarshalBinaryFrom

func (v *RequestByUrl) UnmarshalBinaryFrom(rd io.Reader) error

func (*RequestByUrl) UnmarshalJSON

func (v *RequestByUrl) UnmarshalJSON(data []byte) 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

func (*RequestDataEntry) CopyAsInterface

func (v *RequestDataEntry) CopyAsInterface() interface{}

func (*RequestDataEntry) Equal

func (v *RequestDataEntry) Equal(u *RequestDataEntry) bool

func (*RequestDataEntry) IsValid

func (v *RequestDataEntry) IsValid() error

func (*RequestDataEntry) MarshalBinary

func (v *RequestDataEntry) MarshalBinary() ([]byte, error)

func (*RequestDataEntry) MarshalJSON

func (v *RequestDataEntry) MarshalJSON() ([]byte, error)

func (*RequestDataEntry) Type

func (*RequestDataEntry) Type() QueryType

func (*RequestDataEntry) UnmarshalBinary

func (v *RequestDataEntry) UnmarshalBinary(data []byte) error

func (*RequestDataEntry) UnmarshalBinaryFrom

func (v *RequestDataEntry) UnmarshalBinaryFrom(rd io.Reader) error

func (*RequestDataEntry) UnmarshalJSON

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

func (*RequestDataEntrySet) CopyAsInterface

func (v *RequestDataEntrySet) CopyAsInterface() interface{}

func (*RequestDataEntrySet) Equal

func (*RequestDataEntrySet) IsValid

func (v *RequestDataEntrySet) IsValid() error

func (*RequestDataEntrySet) MarshalBinary

func (v *RequestDataEntrySet) MarshalBinary() ([]byte, error)

func (*RequestDataEntrySet) MarshalJSON

func (v *RequestDataEntrySet) MarshalJSON() ([]byte, error)

func (*RequestDataEntrySet) Type

func (*RequestDataEntrySet) UnmarshalBinary

func (v *RequestDataEntrySet) UnmarshalBinary(data []byte) error

func (*RequestDataEntrySet) UnmarshalBinaryFrom

func (v *RequestDataEntrySet) UnmarshalBinaryFrom(rd io.Reader) error

func (*RequestDataEntrySet) UnmarshalJSON

func (v *RequestDataEntrySet) UnmarshalJSON(data []byte) error

type RequestDirectory

type RequestDirectory struct {
	Url          *url.URL `json:"url,omitempty" form:"url" query:"url" validate:"required"`
	Start        uint64   `json:"start,omitempty" form:"start" query:"start" validate:"required"`
	Limit        uint64   `json:"limit,omitempty" form:"limit" query:"limit" validate:"required"`
	ExpandChains bool     `json:"expandChains,omitempty" form:"expandChains" query:"expandChains" validate:"required"`
	// contains filtered or unexported fields
}

func (*RequestDirectory) Copy

func (*RequestDirectory) CopyAsInterface

func (v *RequestDirectory) CopyAsInterface() interface{}

func (*RequestDirectory) Equal

func (v *RequestDirectory) Equal(u *RequestDirectory) bool

func (*RequestDirectory) IsValid

func (v *RequestDirectory) IsValid() error

func (*RequestDirectory) MarshalBinary

func (v *RequestDirectory) MarshalBinary() ([]byte, error)

func (*RequestDirectory) MarshalJSON

func (v *RequestDirectory) MarshalJSON() ([]byte, error)

func (*RequestDirectory) Type

func (*RequestDirectory) Type() QueryType

func (*RequestDirectory) UnmarshalBinary

func (v *RequestDirectory) UnmarshalBinary(data []byte) error

func (*RequestDirectory) UnmarshalBinaryFrom

func (v *RequestDirectory) UnmarshalBinaryFrom(rd io.Reader) error

func (*RequestDirectory) UnmarshalJSON

func (v *RequestDirectory) UnmarshalJSON(data []byte) 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

func (*RequestKeyPageIndex) CopyAsInterface

func (v *RequestKeyPageIndex) CopyAsInterface() interface{}

func (*RequestKeyPageIndex) Equal

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) 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 RequestMajorBlocks

type RequestMajorBlocks 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 (*RequestMajorBlocks) Copy

func (*RequestMajorBlocks) CopyAsInterface

func (v *RequestMajorBlocks) CopyAsInterface() interface{}

func (*RequestMajorBlocks) Equal

func (*RequestMajorBlocks) IsValid

func (v *RequestMajorBlocks) IsValid() error

func (*RequestMajorBlocks) MarshalBinary

func (v *RequestMajorBlocks) MarshalBinary() ([]byte, error)

func (*RequestMajorBlocks) MarshalJSON

func (v *RequestMajorBlocks) MarshalJSON() ([]byte, error)

func (*RequestMajorBlocks) Type

func (*RequestMajorBlocks) Type() QueryType

func (*RequestMajorBlocks) UnmarshalBinary

func (v *RequestMajorBlocks) UnmarshalBinary(data []byte) error

func (*RequestMajorBlocks) UnmarshalBinaryFrom

func (v *RequestMajorBlocks) UnmarshalBinaryFrom(rd io.Reader) error

func (*RequestMajorBlocks) UnmarshalJSON

func (v *RequestMajorBlocks) UnmarshalJSON(data []byte) error

type RequestMinorBlocks

type RequestMinorBlocks 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"`
	TxFetchMode     TxFetchMode     `json:"txFetchMode,omitempty" form:"txFetchMode" query:"txFetchMode" validate:"required"`
	BlockFilterMode BlockFilterMode `json:"blockFilterMode,omitempty" form:"blockFilterMode" query:"blockFilterMode" validate:"required"`
	// contains filtered or unexported fields
}

func (*RequestMinorBlocks) Copy

func (*RequestMinorBlocks) CopyAsInterface

func (v *RequestMinorBlocks) CopyAsInterface() interface{}

func (*RequestMinorBlocks) Equal

func (*RequestMinorBlocks) IsValid

func (v *RequestMinorBlocks) IsValid() error

func (*RequestMinorBlocks) MarshalBinary

func (v *RequestMinorBlocks) MarshalBinary() ([]byte, error)

func (*RequestMinorBlocks) MarshalJSON

func (v *RequestMinorBlocks) MarshalJSON() ([]byte, error)

func (*RequestMinorBlocks) Type

func (*RequestMinorBlocks) Type() QueryType

func (*RequestMinorBlocks) UnmarshalBinary

func (v *RequestMinorBlocks) UnmarshalBinary(data []byte) error

func (*RequestMinorBlocks) UnmarshalBinaryFrom

func (v *RequestMinorBlocks) UnmarshalBinaryFrom(rd io.Reader) error

func (*RequestMinorBlocks) UnmarshalJSON

func (v *RequestMinorBlocks) UnmarshalJSON(data []byte) error

type RequestSynth

type RequestSynth struct {
	Source         *url.URL `json:"source,omitempty" form:"source" query:"source" validate:"required"`
	Destination    *url.URL `json:"destination,omitempty" form:"destination" query:"destination" validate:"required"`
	SequenceNumber uint64   `json:"sequenceNumber,omitempty" form:"sequenceNumber" query:"sequenceNumber"`
	Anchor         bool     `json:"anchor,omitempty" form:"anchor" query:"anchor"`
	// contains filtered or unexported fields
}

func (*RequestSynth) Copy

func (v *RequestSynth) Copy() *RequestSynth

func (*RequestSynth) CopyAsInterface

func (v *RequestSynth) CopyAsInterface() interface{}

func (*RequestSynth) Equal

func (v *RequestSynth) Equal(u *RequestSynth) bool

func (*RequestSynth) IsValid

func (v *RequestSynth) IsValid() error

func (*RequestSynth) MarshalBinary

func (v *RequestSynth) MarshalBinary() ([]byte, error)

func (*RequestSynth) MarshalJSON

func (v *RequestSynth) MarshalJSON() ([]byte, error)

func (*RequestSynth) Type

func (*RequestSynth) Type() QueryType

func (*RequestSynth) UnmarshalBinary

func (v *RequestSynth) UnmarshalBinary(data []byte) error

func (*RequestSynth) UnmarshalBinaryFrom

func (v *RequestSynth) UnmarshalBinaryFrom(rd io.Reader) error

func (*RequestSynth) UnmarshalJSON

func (v *RequestSynth) 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"`
	Scratch bool     `json:"scratch,omitempty" form:"scratch" query:"scratch" validate:"required"`
	// contains filtered or unexported fields
}

func (*RequestTxHistory) Copy

func (*RequestTxHistory) CopyAsInterface

func (v *RequestTxHistory) CopyAsInterface() interface{}

func (*RequestTxHistory) Equal

func (v *RequestTxHistory) Equal(u *RequestTxHistory) bool

func (*RequestTxHistory) IsValid

func (v *RequestTxHistory) IsValid() error

func (*RequestTxHistory) MarshalBinary

func (v *RequestTxHistory) MarshalBinary() ([]byte, error)

func (*RequestTxHistory) MarshalJSON

func (v *RequestTxHistory) MarshalJSON() ([]byte, error)

func (*RequestTxHistory) Type

func (*RequestTxHistory) Type() QueryType

func (*RequestTxHistory) UnmarshalBinary

func (v *RequestTxHistory) UnmarshalBinary(data []byte) error

func (*RequestTxHistory) UnmarshalBinaryFrom

func (v *RequestTxHistory) UnmarshalBinaryFrom(rd io.Reader) error

func (*RequestTxHistory) UnmarshalJSON

func (v *RequestTxHistory) UnmarshalJSON(data []byte) error

type ResponseAccount

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"`
	Receipt    *GeneralReceipt  `json:"receipt,omitempty" form:"receipt" query:"receipt"`
	// contains filtered or unexported fields
}

func (*ResponseAccount) Copy

func (v *ResponseAccount) Copy() *ResponseAccount

func (*ResponseAccount) CopyAsInterface

func (v *ResponseAccount) CopyAsInterface() interface{}

func (*ResponseAccount) Equal

func (v *ResponseAccount) Equal(u *ResponseAccount) bool

func (*ResponseAccount) IsValid

func (v *ResponseAccount) IsValid() error

func (*ResponseAccount) MarshalBinary

func (v *ResponseAccount) MarshalBinary() ([]byte, error)

func (*ResponseAccount) MarshalJSON

func (v *ResponseAccount) MarshalJSON() ([]byte, error)

func (*ResponseAccount) UnmarshalBinary

func (v *ResponseAccount) UnmarshalBinary(data []byte) error

func (*ResponseAccount) UnmarshalBinaryFrom

func (v *ResponseAccount) UnmarshalBinaryFrom(rd io.Reader) error

func (*ResponseAccount) UnmarshalJSON

func (v *ResponseAccount) UnmarshalJSON(data []byte) error

type ResponseByTxId

type ResponseByTxId struct {
	TxId       *url.TxID                   `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"`
	Produced   []*url.TxID                 `json:"produced,omitempty" form:"produced" query:"produced" validate:"required"`
	Height     uint64                      `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"`
	Signers    []SignatureSet              `json:"signers,omitempty" form:"signers" query:"signers" validate:"required"`
	// contains filtered or unexported fields
}

func (*ResponseByTxId) Copy

func (v *ResponseByTxId) Copy() *ResponseByTxId

func (*ResponseByTxId) CopyAsInterface

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) 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 {
	Type    protocol.ChainType `json:"type,omitempty" form:"type" query:"type" validate:"required"`
	Height  uint64             `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"`
	Receipt *GeneralReceipt    `json:"receipt,omitempty" form:"receipt" query:"receipt"`
	// contains filtered or unexported fields
}

func (*ResponseChainEntry) Copy

func (*ResponseChainEntry) CopyAsInterface

func (v *ResponseChainEntry) CopyAsInterface() interface{}

func (*ResponseChainEntry) Equal

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 {
	Type    protocol.ChainType `json:"type,omitempty" form:"type" query:"type" validate:"required"`
	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

func (*ResponseChainRange) CopyAsInterface

func (v *ResponseChainRange) CopyAsInterface() interface{}

func (*ResponseChainRange) Equal

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

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"`
	TxId      *url.TxID          `json:"txId,omitempty" form:"txId" query:"txId" validate:"required"`
	CauseTxId *url.TxID          `json:"causeTxId,omitempty" form:"causeTxId" query:"causeTxId" validate:"required"`
	// contains filtered or unexported fields
}

func (*ResponseDataEntry) Copy

func (*ResponseDataEntry) CopyAsInterface

func (v *ResponseDataEntry) CopyAsInterface() interface{}

func (*ResponseDataEntry) Equal

func (*ResponseDataEntry) IsValid

func (v *ResponseDataEntry) IsValid() error

func (*ResponseDataEntry) MarshalBinary

func (v *ResponseDataEntry) MarshalBinary() ([]byte, error)

func (*ResponseDataEntry) MarshalJSON

func (v *ResponseDataEntry) MarshalJSON() ([]byte, error)

func (*ResponseDataEntry) UnmarshalBinary

func (v *ResponseDataEntry) UnmarshalBinary(data []byte) error

func (*ResponseDataEntry) UnmarshalBinaryFrom

func (v *ResponseDataEntry) UnmarshalBinaryFrom(rd io.Reader) error

func (*ResponseDataEntry) UnmarshalJSON

func (v *ResponseDataEntry) UnmarshalJSON(data []byte) error

type ResponseDataEntrySet

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

func (*ResponseDataEntrySet) CopyAsInterface

func (v *ResponseDataEntrySet) CopyAsInterface() interface{}

func (*ResponseDataEntrySet) Equal

func (*ResponseDataEntrySet) IsValid

func (v *ResponseDataEntrySet) IsValid() error

func (*ResponseDataEntrySet) MarshalBinary

func (v *ResponseDataEntrySet) MarshalBinary() ([]byte, error)

func (*ResponseDataEntrySet) MarshalJSON

func (v *ResponseDataEntrySet) MarshalJSON() ([]byte, error)

func (*ResponseDataEntrySet) UnmarshalBinary

func (v *ResponseDataEntrySet) UnmarshalBinary(data []byte) error

func (*ResponseDataEntrySet) UnmarshalBinaryFrom

func (v *ResponseDataEntrySet) UnmarshalBinaryFrom(rd io.Reader) error

func (*ResponseDataEntrySet) UnmarshalJSON

func (v *ResponseDataEntrySet) UnmarshalJSON(data []byte) error

type ResponseKeyPageIndex

type ResponseKeyPageIndex struct {
	Authority *url.URL `json:"authority,omitempty" form:"authority" query:"authority" validate:"required"`
	Signer    *url.URL `json:"signer,omitempty" form:"signer" query:"signer" validate:"required"`
	Index     uint64   `json:"index" form:"index" query:"index" validate:"required"`
	// contains filtered or unexported fields
}

func (*ResponseKeyPageIndex) Copy

func (*ResponseKeyPageIndex) CopyAsInterface

func (v *ResponseKeyPageIndex) CopyAsInterface() interface{}

func (*ResponseKeyPageIndex) Equal

func (*ResponseKeyPageIndex) IsValid

func (v *ResponseKeyPageIndex) IsValid() error

func (*ResponseKeyPageIndex) MarshalBinary

func (v *ResponseKeyPageIndex) MarshalBinary() ([]byte, error)

func (*ResponseKeyPageIndex) MarshalJSON

func (v *ResponseKeyPageIndex) MarshalJSON() ([]byte, error)

func (*ResponseKeyPageIndex) UnmarshalBinary

func (v *ResponseKeyPageIndex) UnmarshalBinary(data []byte) error

func (*ResponseKeyPageIndex) UnmarshalBinaryFrom

func (v *ResponseKeyPageIndex) UnmarshalBinaryFrom(rd io.Reader) error

func (*ResponseKeyPageIndex) UnmarshalJSON

func (v *ResponseKeyPageIndex) UnmarshalJSON(data []byte) error

type ResponseMajorBlocks

type ResponseMajorBlocks struct {
	TotalBlocks uint64                `json:"totalBlocks" form:"totalBlocks" query:"totalBlocks" validate:"required"`
	Entries     []*ResponseMajorEntry `json:"entries,omitempty" form:"entries" query:"entries" validate:"required"`
	// contains filtered or unexported fields
}

func (*ResponseMajorBlocks) Copy

func (*ResponseMajorBlocks) CopyAsInterface

func (v *ResponseMajorBlocks) CopyAsInterface() interface{}

func (*ResponseMajorBlocks) Equal

func (*ResponseMajorBlocks) IsValid

func (v *ResponseMajorBlocks) IsValid() error

func (*ResponseMajorBlocks) MarshalBinary

func (v *ResponseMajorBlocks) MarshalBinary() ([]byte, error)

func (*ResponseMajorBlocks) MarshalJSON

func (v *ResponseMajorBlocks) MarshalJSON() ([]byte, error)

func (*ResponseMajorBlocks) UnmarshalBinary

func (v *ResponseMajorBlocks) UnmarshalBinary(data []byte) error

func (*ResponseMajorBlocks) UnmarshalBinaryFrom

func (v *ResponseMajorBlocks) UnmarshalBinaryFrom(rd io.Reader) error

func (*ResponseMajorBlocks) UnmarshalJSON

func (v *ResponseMajorBlocks) UnmarshalJSON(data []byte) error

type ResponseMajorEntry

type ResponseMajorEntry struct {

	// MajorBlockIndex is the index of the block. Only include when indexing the root anchor chain.
	MajorBlockIndex uint64 `json:"majorBlockIndex,omitempty" form:"majorBlockIndex" query:"majorBlockIndex" validate:"required"`
	// MajorBlockTime is the start time of the block..
	MajorBlockTime *time.Time `json:"majorBlockTime,omitempty" form:"majorBlockTime" query:"majorBlockTime" validate:"required"`
	// MinorBlocks the minor blocks within this block (excluding transactions).
	MinorBlocks []*ResponseMinorEntry `json:"minorBlocks,omitempty" form:"minorBlocks" query:"minorBlocks" validate:"required"`
	// contains filtered or unexported fields
}

func (*ResponseMajorEntry) Copy

func (*ResponseMajorEntry) CopyAsInterface

func (v *ResponseMajorEntry) CopyAsInterface() interface{}

func (*ResponseMajorEntry) Equal

func (*ResponseMajorEntry) IsValid

func (v *ResponseMajorEntry) IsValid() error

func (*ResponseMajorEntry) MarshalBinary

func (v *ResponseMajorEntry) MarshalBinary() ([]byte, error)

func (*ResponseMajorEntry) MarshalJSON

func (v *ResponseMajorEntry) MarshalJSON() ([]byte, error)

func (*ResponseMajorEntry) UnmarshalBinary

func (v *ResponseMajorEntry) UnmarshalBinary(data []byte) error

func (*ResponseMajorEntry) UnmarshalBinaryFrom

func (v *ResponseMajorEntry) UnmarshalBinaryFrom(rd io.Reader) error

func (*ResponseMajorEntry) UnmarshalJSON

func (v *ResponseMajorEntry) UnmarshalJSON(data []byte) error

type ResponseMinorBlocks

type ResponseMinorBlocks struct {
	TotalBlocks uint64                `json:"totalBlocks" form:"totalBlocks" query:"totalBlocks" validate:"required"`
	Entries     []*ResponseMinorEntry `json:"entries,omitempty" form:"entries" query:"entries" validate:"required"`
	// contains filtered or unexported fields
}

func (*ResponseMinorBlocks) Copy

func (*ResponseMinorBlocks) CopyAsInterface

func (v *ResponseMinorBlocks) CopyAsInterface() interface{}

func (*ResponseMinorBlocks) Equal

func (*ResponseMinorBlocks) IsValid

func (v *ResponseMinorBlocks) IsValid() error

func (*ResponseMinorBlocks) MarshalBinary

func (v *ResponseMinorBlocks) MarshalBinary() ([]byte, error)

func (*ResponseMinorBlocks) MarshalJSON

func (v *ResponseMinorBlocks) MarshalJSON() ([]byte, error)

func (*ResponseMinorBlocks) UnmarshalBinary

func (v *ResponseMinorBlocks) UnmarshalBinary(data []byte) error

func (*ResponseMinorBlocks) UnmarshalBinaryFrom

func (v *ResponseMinorBlocks) UnmarshalBinaryFrom(rd io.Reader) error

func (*ResponseMinorBlocks) UnmarshalJSON

func (v *ResponseMinorBlocks) UnmarshalJSON(data []byte) error

type ResponseMinorEntry

type ResponseMinorEntry struct {

	// BlockIndex is the index of the block. Only include when indexing the root anchor chain.
	BlockIndex uint64 `json:"blockIndex,omitempty" form:"blockIndex" query:"blockIndex" validate:"required"`
	// BlockTime is the start time of the block..
	BlockTime *time.Time `json:"blockTime,omitempty" form:"blockTime" query:"blockTime" validate:"required"`
	// TxCount shows how many transactions this block contains.
	TxCount uint64   `json:"txCount,omitempty" form:"txCount" query:"txCount" validate:"required"`
	TxIds   [][]byte `json:"txIds,omitempty" form:"txIds" query:"txIds" validate:"required"`
	// Transactions the transactions within this block.
	Transactions []*ResponseByTxId `json:"transactions,omitempty" form:"transactions" query:"transactions" validate:"required"`
	// contains filtered or unexported fields
}

func (*ResponseMinorEntry) Copy

func (*ResponseMinorEntry) CopyAsInterface

func (v *ResponseMinorEntry) CopyAsInterface() interface{}

func (*ResponseMinorEntry) Equal

func (*ResponseMinorEntry) IsValid

func (v *ResponseMinorEntry) IsValid() error

func (*ResponseMinorEntry) MarshalBinary

func (v *ResponseMinorEntry) MarshalBinary() ([]byte, error)

func (*ResponseMinorEntry) MarshalJSON

func (v *ResponseMinorEntry) MarshalJSON() ([]byte, error)

func (*ResponseMinorEntry) UnmarshalBinary

func (v *ResponseMinorEntry) UnmarshalBinary(data []byte) error

func (*ResponseMinorEntry) UnmarshalBinaryFrom

func (v *ResponseMinorEntry) UnmarshalBinaryFrom(rd io.Reader) error

func (*ResponseMinorEntry) UnmarshalJSON

func (v *ResponseMinorEntry) UnmarshalJSON(data []byte) error

type ResponsePending

type ResponsePending struct {
	Transactions []*url.TxID `json:"transactions,omitempty" form:"transactions" query:"transactions" validate:"required"`
	// contains filtered or unexported fields
}

func (*ResponsePending) Copy

func (v *ResponsePending) Copy() *ResponsePending

func (*ResponsePending) CopyAsInterface

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

func (*ResponseTxHistory) CopyAsInterface

func (v *ResponseTxHistory) CopyAsInterface() interface{}

func (*ResponseTxHistory) Equal

func (*ResponseTxHistory) IsValid

func (v *ResponseTxHistory) IsValid() error

func (*ResponseTxHistory) MarshalBinary

func (v *ResponseTxHistory) MarshalBinary() ([]byte, error)

func (*ResponseTxHistory) MarshalJSON

func (v *ResponseTxHistory) MarshalJSON() ([]byte, error)

func (*ResponseTxHistory) UnmarshalBinary

func (v *ResponseTxHistory) UnmarshalBinary(data []byte) error

func (*ResponseTxHistory) UnmarshalBinaryFrom

func (v *ResponseTxHistory) UnmarshalBinaryFrom(rd io.Reader) error

func (*ResponseTxHistory) UnmarshalJSON

func (v *ResponseTxHistory) UnmarshalJSON(data []byte) error

type SignatureSet

type SignatureSet struct {
	Account    protocol.Account     `json:"account,omitempty" form:"account" query:"account" validate:"required"`
	Signatures []protocol.Signature `json:"signatures,omitempty" form:"signatures" query:"signatures" validate:"required"`
	// contains filtered or unexported fields
}

func (*SignatureSet) Copy

func (v *SignatureSet) Copy() *SignatureSet

func (*SignatureSet) CopyAsInterface

func (v *SignatureSet) CopyAsInterface() interface{}

func (*SignatureSet) Equal

func (v *SignatureSet) Equal(u *SignatureSet) bool

func (*SignatureSet) IsValid

func (v *SignatureSet) IsValid() error

func (*SignatureSet) MarshalBinary

func (v *SignatureSet) MarshalBinary() ([]byte, error)

func (*SignatureSet) MarshalJSON

func (v *SignatureSet) MarshalJSON() ([]byte, error)

func (*SignatureSet) UnmarshalBinary

func (v *SignatureSet) UnmarshalBinary(data []byte) error

func (*SignatureSet) UnmarshalBinaryFrom

func (v *SignatureSet) UnmarshalBinaryFrom(rd io.Reader) error

func (*SignatureSet) UnmarshalJSON

func (v *SignatureSet) UnmarshalJSON(data []byte) error

type TxFetchMode

type TxFetchMode uint64

TxFetchMode specifies how much detail of the transactions should be included in the result set

const TxFetchModeCountOnly TxFetchMode = 2

TxFetchModeCountOnly only include the transaction count in the result set.

const TxFetchModeExpand TxFetchMode = 0

TxFetchModeExpand expand the full transactions in the result set.

const TxFetchModeIds TxFetchMode = 1

TxFetchModeIds include the transaction IDs & count in the result set.

const TxFetchModeOmit TxFetchMode = 3

TxFetchModeOmit omit all transaction info from the result set.

func TxFetchModeByName

func TxFetchModeByName(name string) (TxFetchMode, bool)

TxFetchModeByName returns the named Tx Fetch Mode.

func (TxFetchMode) GetEnumValue

func (v TxFetchMode) GetEnumValue() uint64

GetEnumValue returns the value of the Tx Fetch Mode

func (TxFetchMode) MarshalJSON

func (v TxFetchMode) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Tx Fetch Mode to JSON as a string.

func (*TxFetchMode) SetEnumValue

func (v *TxFetchMode) SetEnumValue(id uint64) bool

SetEnumValue sets the value. SetEnumValue returns false if the value is invalid.

func (TxFetchMode) String

func (v TxFetchMode) String() string

String returns the name of the Tx Fetch Mode.

func (*TxFetchMode) UnmarshalJSON

func (v *TxFetchMode) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals the Tx Fetch Mode from JSON as a string.

type TxReceipt

type TxReceipt struct {
	GeneralReceipt
	Account *url.URL `json:"account,omitempty" form:"account" query:"account" validate:"required"`
	Chain   string   `json:"chain,omitempty" form:"chain" query:"chain" validate:"required"`
	// contains filtered or unexported fields
}

func (*TxReceipt) Copy

func (v *TxReceipt) Copy() *TxReceipt

func (*TxReceipt) CopyAsInterface

func (v *TxReceipt) CopyAsInterface() interface{}

func (*TxReceipt) Equal

func (v *TxReceipt) Equal(u *TxReceipt) bool

func (*TxReceipt) IsValid

func (v *TxReceipt) IsValid() error

func (*TxReceipt) MarshalBinary

func (v *TxReceipt) MarshalBinary() ([]byte, error)

func (*TxReceipt) MarshalJSON

func (v *TxReceipt) MarshalJSON() ([]byte, error)

func (*TxReceipt) UnmarshalBinary

func (v *TxReceipt) UnmarshalBinary(data []byte) error

func (*TxReceipt) UnmarshalBinaryFrom

func (v *TxReceipt) UnmarshalBinaryFrom(rd io.Reader) error

func (*TxReceipt) UnmarshalJSON

func (v *TxReceipt) UnmarshalJSON(data []byte) error

type UnknownRequest

type UnknownRequest struct {
	// contains filtered or unexported fields
}

func (*UnknownRequest) Copy

func (v *UnknownRequest) Copy() *UnknownRequest

func (*UnknownRequest) CopyAsInterface

func (v *UnknownRequest) CopyAsInterface() interface{}

func (*UnknownRequest) Equal

func (v *UnknownRequest) Equal(u *UnknownRequest) bool

func (*UnknownRequest) IsValid

func (v *UnknownRequest) IsValid() error

func (*UnknownRequest) MarshalBinary

func (v *UnknownRequest) MarshalBinary() ([]byte, error)

func (*UnknownRequest) MarshalJSON

func (v *UnknownRequest) MarshalJSON() ([]byte, error)

func (*UnknownRequest) Type

func (*UnknownRequest) Type() QueryType

func (*UnknownRequest) UnmarshalBinary

func (v *UnknownRequest) UnmarshalBinary(data []byte) error

func (*UnknownRequest) UnmarshalBinaryFrom

func (v *UnknownRequest) UnmarshalBinaryFrom(rd io.Reader) error

func (*UnknownRequest) UnmarshalJSON

func (v *UnknownRequest) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL