package
0.16.0
Repository: https://github.com/threefoldtech/tfgrid-sdk-go.git
Documentation: pkg.go.dev

# Functions

NewPostgresDatabase returns a new postgres db client.

# Variables

ErrContractNotFound contract not found.
ErrFarmNotFound farm not found.
ErrNodeNotFound node not found.
ErrViewNotFound.

# Structs

DBContract is contract info.
Farm data about a farm which is calculated from the chain.
Node data about a node which is calculated from the chain.
NodePower struct is the farmerbot report for node status.
NodesDistribution is the number of nodes per each country.
PostgresDatabase postgres db client.

# Interfaces

Database interface for storing and fetching grid info.

# Type aliases

No description provided by the author