Documentation ¶
Overview ¶
This creates a simple hello world window
This creates a simple hello world window ¶
figures out if your hostname is valid then checks if your DNS is setup correctly
This creates a simple hello world window ¶
This creates a simple hello world window
Index ¶
- Variables
- func CheckSuperuser() bool
- func DumpPublicDNSZone(zone string)
- func Escalate()
- func GetProcessNameByPort(port int) string
- func IsIPv6(address string) bool
- func IsReal(ip *net.IP) bool
- type IFtype
- type IPtype
- type LinuxStatus
- func (ls *LinuxStatus) Changed() bool
- func (ls *LinuxStatus) GetDomainName() string
- func (ls *LinuxStatus) GetHostShort() string
- func (ls *LinuxStatus) GetHostname() string
- func (ls *LinuxStatus) GetIPv4() []string
- func (ls *LinuxStatus) GetIPv6() []string
- func (ls *LinuxStatus) GetNameservers() []string
- func (ls *LinuxStatus) Hide()
- func (ls *LinuxStatus) Ready() bool
- func (ls *LinuxStatus) SetSpeedActual(s string)
- func (ls *LinuxStatus) Show()
- func (ls *LinuxStatus) Toggle()
- func (ls *LinuxStatus) Update()
- func (ls *LinuxStatus) ValidHostname() bool
Constants ¶
This section is empty.
Variables ¶
View Source
var CHANGE *log.LogFlag
View Source
var DNS *log.LogFlag
View Source
var INFO *log.LogFlag
View Source
var NET *log.LogFlag
View Source
var NOW *log.LogFlag
View Source
var PROC *log.LogFlag
View Source
var SPEW *log.LogFlag
View Source
var STATUS *log.LogFlag
View Source
var WARN *log.LogFlag
Functions ¶
func CheckSuperuser ¶
func CheckSuperuser() bool
func DumpPublicDNSZone ¶
func DumpPublicDNSZone(zone string)
You need permission to do a zone transfer. Otherwise: dig +noall +answer +multiline lab.wit.com any dig +all +multiline fire.lab.wit.com # gives the zonefile header (ttl vals)
func GetProcessNameByPort ¶
Types ¶
type LinuxStatus ¶
type LinuxStatus struct { IPv4 *gadgets.OneLiner IPv6 *gadgets.OneLiner Interfaces *gui.Node // contains filtered or unexported fields }
func InitLinuxStatus ¶ added in v0.21.3
func InitLinuxStatus() *LinuxStatus
func (*LinuxStatus) Changed ¶
func (ls *LinuxStatus) Changed() bool
reports externally if something has changed since the last time it was asked about it
func (*LinuxStatus) GetDomainName ¶
func (ls *LinuxStatus) GetDomainName() string
func (*LinuxStatus) GetHostShort ¶
func (ls *LinuxStatus) GetHostShort() string
func (*LinuxStatus) GetHostname ¶
func (ls *LinuxStatus) GetHostname() string
func (*LinuxStatus) GetIPv4 ¶
func (ls *LinuxStatus) GetIPv4() []string
func (*LinuxStatus) GetIPv6 ¶
func (ls *LinuxStatus) GetIPv6() []string
func (*LinuxStatus) GetNameservers ¶
func (ls *LinuxStatus) GetNameservers() []string
func (*LinuxStatus) Hide ¶
func (ls *LinuxStatus) Hide()
func (*LinuxStatus) Ready ¶
func (ls *LinuxStatus) Ready() bool
func (*LinuxStatus) SetSpeedActual ¶
func (ls *LinuxStatus) SetSpeedActual(s string)
func (*LinuxStatus) Show ¶
func (ls *LinuxStatus) Show()
func (*LinuxStatus) Toggle ¶
func (ls *LinuxStatus) Toggle()
func (*LinuxStatus) Update ¶
func (ls *LinuxStatus) Update()
func (*LinuxStatus) ValidHostname ¶
func (ls *LinuxStatus) ValidHostname() bool
Click to show internal directories.
Click to hide internal directories.