runs with new resolverStatus()
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
b7db74c779
commit
57b0942cc7
16
digStatus.go
16
digStatus.go
|
@ -47,10 +47,10 @@ type digStatus struct {
|
||||||
speedActual *gadgets.OneLiner
|
speedActual *gadgets.OneLiner
|
||||||
|
|
||||||
details *gui.Node
|
details *gui.Node
|
||||||
dsLocalhost *dnsStatus
|
dsLocalhost *resolverStatus
|
||||||
dsLocalNetwork *dnsStatus
|
dsLocalNetwork *resolverStatus
|
||||||
dsCloudflare *dnsStatus
|
dsCloudflare *resolverStatus
|
||||||
dsGoogle *dnsStatus
|
dsGoogle *resolverStatus
|
||||||
DnsDigUDP *gui.Node
|
DnsDigUDP *gui.Node
|
||||||
DnsDigTCP *gui.Node
|
DnsDigTCP *gui.Node
|
||||||
|
|
||||||
|
@ -110,10 +110,10 @@ func NewDigStatusWindow(p *gui.Node) *digStatus {
|
||||||
|
|
||||||
// make the area to store the raw details
|
// make the area to store the raw details
|
||||||
ds.details = ds.window.Box().NewGroup("Details")
|
ds.details = ds.window.Box().NewGroup("Details")
|
||||||
ds.dsLocalhost = NewDnsStatus(ds.details, "(localhost)", "127.0.0.1:53", "go.wit.com")
|
ds.dsLocalhost = NewResolverStatus(ds.details, "(localhost)", "127.0.0.1:53", "go.wit.com")
|
||||||
ds.dsLocalNetwork = NewDnsStatus(ds.details, "(Local Network)", "172.22.0.1:53", "go.wit.com")
|
ds.dsLocalNetwork = NewResolverStatus(ds.details, "(Local Network)", "172.22.0.1:53", "go.wit.com")
|
||||||
ds.dsCloudflare = NewDnsStatus(ds.details, "(cloudflare)", "1.1.1.1:53", "go.wit.com")
|
ds.dsCloudflare = NewResolverStatus(ds.details, "(cloudflare)", "1.1.1.1:53", "go.wit.com")
|
||||||
ds.dsGoogle = NewDnsStatus(ds.details, "(google)", "8.8.8.8:53", "go.wit.com")
|
ds.dsGoogle = NewResolverStatus(ds.details, "(google)", "8.8.8.8:53", "go.wit.com")
|
||||||
ds.makeDnsStatusGrid()
|
ds.makeDnsStatusGrid()
|
||||||
ds.makeHttpStatusGrid()
|
ds.makeHttpStatusGrid()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue