Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConnectionError = errors.New("verify you are connected to the internet") ErrCouldNotConnectNodes = errors.New("could not connect to any nodes: verify your network configuration is up to date") )
View Source
var ErrCouldNotListNetworks = errors.New("couldn't list the networks")
Functions ¶
func GetNetworkVersionThroughGRPC ¶ added in v0.59.0
func IsUnreleased ¶
func IsUnreleased() bool
Types ¶
type CheckSoftwareCompatibilityResponse ¶ added in v0.64.0
type CheckSoftwareCompatibilityResponse struct {
NetworksCompatibility []NetworkCompatibility `json:"networksCompatibility"`
}
func CheckSoftwareCompatibility ¶ added in v0.64.0
func CheckSoftwareCompatibility(netStore NetworkStore, requestVersionFn RequestVersionFn) (*CheckSoftwareCompatibilityResponse, error)
type GetSoftwareVersionResponse ¶ added in v0.64.0
type GetSoftwareVersionResponse struct { Version string `json:"version"` GitHash string `json:"gitHash"` }
func GetSoftwareVersionInfo ¶ added in v0.64.0
func GetSoftwareVersionInfo() *GetSoftwareVersionResponse
type NetworkCompatibility ¶ added in v0.59.0
type NetworkStore ¶ added in v0.55.0
type RequestVersionFn ¶ added in v0.55.0
RequestVersionFn is the function in charge of retrieving the network version ran by the host lists.
Click to show internal directories.
Click to hide internal directories.