Documentation
¶
Overview ¶
Package types implements shared types
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckWorkItem ¶
type HealthCheckWorkItem struct {
Identifier string `json:"identifier"`
Endpoints Endpoints `json:"endpoints"`
}
HealthCheckWorkItem defines the parameters for the collector to send to the health checker
type RoverHealthCheckWorkItem ¶
type RoverHealthCheckWorkItem struct {
Identifier string `json:"identifier"`
Endpoints Endpoints `json:"endpoints"`
}
HealthCheckWorkItem defines the parameters for the collector to send to the health checker
type WorkItem ¶
type WorkItem struct {
HiveEndpoint string `json:"hive_endpoint"`
RPCEndpoint string `json:"rpc_endpoint"`
LCDEndpoint string `json:"lcd_endpoint"`
ContractAddress string `json:"contract_address"`
ContractItemPrefix string `json:"contract_item_prefix"`
WorkItemType WorkItemType `json:"work_item_type"`
ContractPageOffset uint64 `json:"contract_page_offset"`
ContractPageLimit uint64 `json:"contract_page_limit"`
}
WorkItem defines the parameters for the collector to use when querying the contract state
type WorkItemType ¶
type WorkItemType string
const ( Redbank WorkItemType = "Redbank" Rover WorkItemType = "Rover" )
Click to show internal directories.
Click to hide internal directories.