diff options
| author | Jeff Carr <[email protected]> | 2023-03-01 11:21:47 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-03-01 11:21:47 -0600 |
| commit | 3ce3a39226bd6c0e738cdf76a55b05be1bad3cc3 (patch) | |
| tree | 56d06a8768af58395d8be5027d770ca0d674e8a8 /structs.go | |
| parent | e517baeb87767d9d8abe276ff38b0d324561c3c3 (diff) | |
tagging against wit/gui v0.6.1
using Queue() for textbox fixes crashing (?)
change TTL to 2 minutes
gui debugging checkboxes
make a dig test button
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -3,6 +3,7 @@ package main import ( "net" + "git.wit.org/wit/gui" ) // It's probably a terrible idea to call this 'me' @@ -12,9 +13,16 @@ type Host struct { hostname string // mirrors domainname string // kernel.org fqdn string // mirrors.kernel.org + dnsTTL int // Recheck DNS is working every TTL (in seconds) + user string // name of the user ipmap map[string]*IPtype // the current ip addresses + dnsmap map[string]*IPtype // the current dns addresses ifmap map[int]*IFtype // the current interfaces ipchange bool // set to true if things change + window *gui.Node // the main window + tab *gui.Node // the main dns tab + notes *gui.Node // using this to put notes here + output *gui.Node // Textbox for dumping output } type IPtype struct { |
