27 lines
382 B
Go
27 lines
382 B
Go
// This creates a simple hello world window
|
|
package main
|
|
|
|
import (
|
|
// "net"
|
|
// "github.com/fsnotify/fsnotify"
|
|
// "git.wit.org/wit/gui"
|
|
// arg "github.com/alexflint/go-arg"
|
|
)
|
|
|
|
var me Host
|
|
|
|
type IPtype struct {
|
|
// IP string
|
|
IPv4 bool
|
|
IPv6 bool
|
|
LinkLocal bool
|
|
}
|
|
|
|
type Host struct {
|
|
Name string
|
|
domainname string
|
|
hostname string
|
|
fqdn string
|
|
ips map[string]*IPtype
|
|
}
|