Documentation ¶
Index ¶
Constants ¶
View Source
const ( MinerProtocolsTask = "minerprotocols" // task that observes the supported protocols of miners on the Filecoin network. PeerAgentsTask = "peeragents" // task that observes connected peer agents )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { minerprotocols.API peeragents.API }
type Surveyer ¶
type Surveyer struct {
// contains filtered or unexported fields
}
An Surveyer observes features of the filecoin network
func NewSurveyer ¶
type TaskResult ¶
type TaskResult struct { Task string Error error Data model.Persistable StartedAt time.Time CompletedAt time.Time }
A TaskResult is either some data to persist or an error which indicates that the task did not complete. Partial completions are possible provided the Data contains a persistable log of the results.
Click to show internal directories.
Click to hide internal directories.