diff options
author | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-06-01 15:35:45 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-06-02 13:04:04 +0200 |
commit | 62f94ac6a1404834ac6f0723ef57e25fcd5e67f9 (patch) | |
tree | 5a70ce3dec39229d37816dafed0d944016c1dd54 /pkg/policy/node.go | |
parent | 279de6a1195adb739a8d1f2afb445b68793b28b8 (diff) |
Improve terminology and documentationmain
Diffstat (limited to 'pkg/policy/node.go')
-rw-r--r-- | pkg/policy/node.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/policy/node.go b/pkg/policy/node.go index 607dbc3..d933e7f 100644 --- a/pkg/policy/node.go +++ b/pkg/policy/node.go @@ -11,10 +11,10 @@ import ( ) type Node struct { - Name string `json:"name"` // Artbirary node name to authenticate - Secret string `json:"secret"` // Arbitrary node secret for authentication - URL string `json:"url"` // Where the node's submissions can be downloaded - Domains []string `json:"issues"` // Exact-match domain names allowed to be issued + Name string `json:"name"` // Artbirary node name to authenticate + Secret string `json:"secret"` // Arbitrary node secret for authentication + URL string `json:"location"` // Where the node's submissions can be downloaded + Domains []string `json:"requests"` // Exact-match domain names allowed to be issued key [16]byte } |