Documentation
¶
Index ¶
- type AdvancedQueryMessage
- type BlockData
- type ClaimOwnershipMessage
- type Connector
- type DagData
- type DownloadFilter
- type DownloadMessage
- type DownloadProgress
- type ErrorMessage
- type LeafLabelRange
- type MessageEnvelope
- type QueryFilter
- type QueryMessage
- type QueryResponse
- type ResponseMessage
- type Stream
- type TagFilter
- type UploadMessage
- type UploadProgress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvancedQueryMessage ¶
type AdvancedQueryMessage struct {
Filter QueryFilter
}
type BlockData ¶
type BlockData struct {
Leaf merkle_dag.DagLeaf
Branch merkle_dag.ClassicTreeBranch
}
type ClaimOwnershipMessage ¶
type DownloadFilter ¶
type DownloadFilter struct {
LeafRanges *LeafLabelRange
LeafHashes []string
IncludeContent bool
}
type DownloadMessage ¶
type DownloadMessage struct {
Root string
PublicKey string
Signature string
Filter *DownloadFilter
}
type DownloadProgress ¶
type ErrorMessage ¶
type ErrorMessage struct {
Message string
}
type LeafLabelRange ¶
type MessageEnvelope ¶
type MessageEnvelope struct {
Type string `cbor:"type"`
Payload interface{} `cbor:"payload"`
}
type QueryFilter ¶
type QueryMessage ¶
type QueryResponse ¶
type QueryResponse struct {
Hashes []string
}
type ResponseMessage ¶
type UploadMessage ¶
type UploadMessage struct {
Root string
Packet merkle_dag.SerializableBatchedTransmissionPacket
PublicKey string
Signature string
IsFinalPacket bool // Indicates this is the last packet in the transmission
}
Click to show internal directories.
Click to hide internal directories.