Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a swap RPC client, used to interact with a swap daemon via JSON-RPC calls.
type IDResponse ¶
type LookupRequest ¶
type LookupResponse ¶
type NumHostsResponse ¶
type NumHostsResponse struct {
NumHosts int `json:"numHosts"`
}
type ProvideRequest ¶
type ProvideRequest struct { HostIndex int `json:"hostIndex"` CIDs []cid.Cid `json:"cids"` }
Click to show internal directories.
Click to hide internal directories.