Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Benchmark ¶
type Benchmark interface { ScanHost(ctx context.Context, hostAddr string, hostKey types.PublicKey) (benchmark.Settings, error) PingHost(ctx context.Context, hostAddr string, hostKey types.PublicKey) benchmark.PingResult }
A Benchmark benchmarks hosts and manages contracts
type ScanRequest ¶
type ScanRequest struct { Address string `json:"address"` HostKey types.PublicKey `json:"hostKey"` }
A ScanRequest scans a host's settings and price table
Click to show internal directories.
Click to hide internal directories.