Documentation
¶
Index ¶
- func Cmd(cmd string) (interface{}, error)
- func FindInterfaces()
- func FormNode() (*etcd.Node, error)
- func GetIP() (string, error)
- func HoldDir(ec *etcd.Client, directory string, ttl uint64)
- func HttpQuery(resource string) (interface{}, error)
- func PostKey(ec *etcd.Client, key, value string, ttl uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindInterfaces ¶
func FindInterfaces()
func GetIP ¶
Using *nix system hostname command; find the host's broadcast IP Returns the IP as a string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.