diff options
| author | Jeff Carr <[email protected]> | 2023-12-20 05:58:33 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-20 05:58:33 -0600 |
| commit | 85b9a036c289fe840e69e1852866f429b87cf63e (patch) | |
| tree | eb18f693027cd220f71c0fb015a67346d82a37cc /examples/cloudflare/structs.go | |
| parent | 87ab9a958d9eb9f4db35d5c9f9ce923df3132dad (diff) | |
code moved to the cloudflare package
use the cloudflare package
add a protobuf attempt
better change detection, but formatting is broken
don't redraw widgets if they are not visible
create new dns entry worked
attempting a DNS RR create
attempt a create API call
use cloudflare recommended ENV vars
turn off debugging
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'examples/cloudflare/structs.go')
| -rw-r--r-- | examples/cloudflare/structs.go | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/examples/cloudflare/structs.go b/examples/cloudflare/structs.go index af4d7f3..50647d7 100644 --- a/examples/cloudflare/structs.go +++ b/examples/cloudflare/structs.go @@ -34,20 +34,23 @@ var zonedrop *gui.Node // Resource Record (used in a DNS zonefile) type RRT struct { - typeNode *gui.Node - nameNode *gui.Node - proxyNode *gui.Node - ttlNode *gui.Node - valueNode *gui.Node - saveNode *gui.Node + typeNode *gui.Node // CNAME, A, AAAA, ... + nameNode *gui.Node // www, mail, ... + proxyNode *gui.Node // If cloudflare is a port 80 & 443 proxy + ttlNode *gui.Node // just set to 1 which means automatic to cloudflare + valueNode *gui.Node // 4.2.2.2, "dkim stuff", etc + curlNode *gui.Node // shows you what you could run via curl + resultNode *gui.Node // what the cloudflare API returned + saveNode *gui.Node // button to send it to cloudflare ID string Type string Name string Content string + ProxyS string Proxied bool Proxiable bool - TTL int + Ttl string } /* |
