Documentation ¶
Index ¶
- func BuildRPCAddress(peer coretypes.Peer) string
- func CheckNode(nodeAddr string)
- func CheckNodeGRPC(nodeAddr string)
- func FetchClient(nodeAddr string) (client *http.HTTP, err error)
- func FetchNetInfo(client *http.HTTP) (*coretypes.ResultNetInfo, error)
- func FetchNodeInfoGRPC(nodeAddr string) error
- func IsNodeVisited(nodeAddr string) bool
- func MarkNodeAsVisited(nodeAddr string)
- func NormalizeAddressWithRemoteIP(nodeAddr string, remoteIP string) string
- func ProcessPeer(peer coretypes.Peer)
- func WriteNodesToToml(initialNode string)
- func WriteSectionToToml(file *os.File, nodeAddr string)
- func WriteSectionToTomlSlice(file *os.File, sectionName string, nodes map[string]bool, status bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRPCAddress ¶
func CheckNodeGRPC ¶
func CheckNodeGRPC(nodeAddr string)
func FetchNetInfo ¶
func FetchNetInfo(client *http.HTTP) (*coretypes.ResultNetInfo, error)
func FetchNodeInfoGRPC ¶
func IsNodeVisited ¶
func MarkNodeAsVisited ¶
func MarkNodeAsVisited(nodeAddr string)
func ProcessPeer ¶
func WriteNodesToToml ¶
func WriteNodesToToml(initialNode string)
func WriteSectionToToml ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.