modulepackage
0.0.0-20190628085230-df7942628d6f
Repository: https://github.com/project-nano/sonar.git
Documentation: pkg.go.dev
# README
Nano Sonar
Utility code for module and network discovery
Stub usages:
import "github.com/project-nano/sonar"
if err = endpoint.groupListener.AddService(ServiceTypeStringCore, "kcp", endpoint.fixedListenAddress, listenPort); err != nil {
return err
}
if err = endpoint.groupListener.Start(); err != nil {
return err
}
Pinger usages:
import "github.com/project-nano/sonar"
pinger, err := sonar.CreatePinger(endpoint.groupAddress, endpoint.groupPort, endpoint.domain)
echo, err = pinger.Query(queryTimeout)
# Functions
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author