// This creates a simple hello world window package main import ( "net" ) // It's probably a terrible idea to call this 'me' var me Host type Host struct { domainname string // kernel.org hostname string // mirrors fqdn string // mirrors.kernel.org ip map[string]*IPtype ifmap map[int]*net.Interface ifcur []net.Interface // the current network settings ifnew []net.Interface // used to look for changes ipchange bool // set to true if things change } type IPtype struct { // IP string IPv4 bool IPv6 bool LinkLocal bool nic *net.Interface }