summaryrefslogtreecommitdiff
path: root/examples/cloudflare/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cloudflare/structs.go')
-rw-r--r--examples/cloudflare/structs.go17
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
}
/*