package
0.0.0-20211026075911-5a8165d58e8c
Repository: https://github.com/kuberlab/lib.git
Documentation: pkg.go.dev
# Functions
If bind-address is usable, return it directly If bind-address is not usable (unset, 0.0.0.0, or loopback), we will use the host's default interface.
ChooseHostInterface is a method used fetch an IP for a daemon.It uses data from /proc/net/route file.For a node with no internet connection ,it returns errorFor a multi n/w interface node it returns the IP of the interface with gateway on it.
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
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
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
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
No description provided by the author
# Type aliases
No description provided by the author