Documentation ¶ Index ¶ Constants type Node Constants ¶ View Source const ( // GetAddrsPath is the URL path to fetch a list of public nodes GetAddrsPath = "/api/addrs" IPVersion = "ipversion" ServiceFlag = "services" ProtocolVersion = "pver" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Node ¶ type Node struct { Host string `json:"host"` Services uint64 `json:"services"` ProtocolVersion uint32 `json:"pver"` } Source Files ¶ View all Source files addr.go Click to show internal directories. Click to hide internal directories.