Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.1"
Version contains the current version number
Variables ¶
This section is empty.
Functions ¶
func CompareVersions ¶
CompareVersions the versions of two nodes.
A version consists of the version the node's schema and the number of API extensions it supports.
Return 0 if they equal, 1 if the first version is greater than the second and 2 if the second is greater than the first.
Return an error if inconsistent versions are detected, for example the first node's schema is greater than the second's, but the number of extensions is smaller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.