diff options
| author | Jeff Carr <[email protected]> | 2023-12-16 12:59:18 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-16 12:59:18 -0600 |
| commit | bbf96ee7fa67a6d50ea1d1b3a23a3f44f136a30e (patch) | |
| tree | a96585438a24f296d58fb3d2bd5cad8f1d4c8f3c /structs.go | |
| parent | e9f1723dbc8dab3bd84f7006723f6ae9c97df88c (diff) | |
seems to compile and runv0.1.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -13,12 +13,19 @@ 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) + + dnsTTL int `default:3` // Recheck DNS is working every TTL (in seconds) + dnsTTLsleep float64 // sleep between loops + artificialSleep float64 `default:0.7` // artificial sleep on startup + artificialS string `default:0.7` // artificial sleep on startup + changed bool // set to true if things changed 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 + window *gui.Node // the main window tab *gui.Node // the main dns tab notes *gui.Node // using this to put notes here |
