From 62f94ac6a1404834ac6f0723ef57e25fcd5e67f9 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 1 Jun 2024 15:35:45 +0200 Subject: Improve terminology and documentation --- pkg/policy/node.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg/policy/node.go') 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 } -- cgit v1.2.3