Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleSuggestRequest ¶
type BundleSuggestResponse ¶
type BundleSuggestResponse struct {
Response
Present bool `cbor:"5,keyasint,omitempty"`
Missing []Hash `cbor:"6,keyasint,omitempty"`
}
func SuggestBundle ¶
func SuggestBundle(key, domain string, id Hash) (*BundleSuggestResponse, error)
type BundleUploadRequest ¶
type BundleUploadResponse ¶
type BundleUploadResponse struct {
Response
ID Hash `cbor:"5,keyasint,omitempty"`
Missing []Hash `cbor:"6,keyasint,omitempty"`
}
func UploadBundle ¶
func UploadBundle(key, domain string, bundle []byte) (*BundleUploadResponse, error)
type FinalizeUploadRequest ¶
type FinalizeUploadResponse ¶
type MissingUploadRequest ¶
Click to show internal directories.
Click to hide internal directories.