diff options
| author | Jeff Carr <[email protected]> | 2023-12-29 01:36:10 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-29 01:36:10 -0600 |
| commit | 1258be9beff2e45c94ba5f7c29db65be02a1e2d4 (patch) | |
| tree | c1b6bc4e9a648835ec243140fd29689db1cf0bf1 /digitalocean/mainWindow.go | |
| parent | 8afc73da048204f4245e0c850436c1e3e70055a5 (diff) | |
add digital ocean & DNS state windows
lists digital ocean droplets
create a new digital ocean droplet
knows what needs to be done to get IPv4 and IPv6 to work
update windows on Show()
make a window for the state of DNS specific to the hostname
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'digitalocean/mainWindow.go')
| -rw-r--r-- | digitalocean/mainWindow.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/digitalocean/mainWindow.go b/digitalocean/mainWindow.go new file mode 100644 index 0000000..78f2d03 --- /dev/null +++ b/digitalocean/mainWindow.go @@ -0,0 +1,18 @@ +package digitalocean + +import ( + "log" + + "go.wit.com/gui" +) + +func MakeWindow(n *gui.Node) *gui.Node { + log.Println("digitalocean MakeWindow() START") + + win := n.NewWindow("DigitalOcean Control Panel") + + // box := g1.NewGroup("data") + group := win.NewGroup("data") + log.Println("digitalocean MakeWindow() END", group) + return win +} |
