aboutsummaryrefslogtreecommitdiff
path: root/messages.go
diff options
context:
space:
mode:
Diffstat (limited to 'messages.go')
-rw-r--r--messages.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/messages.go b/messages.go
index 18fe0fb..33f5873 100644
--- a/messages.go
+++ b/messages.go
@@ -24,11 +24,11 @@ type Directory struct {
// Registration Objects
type Registration struct {
- Resource string `json:"resource"` // new-reg
- Contact []string `json:"contact,omitempty"`
- Agreement string `json:"agreement,omitempty"`
- Authorizations string `json:"authorizations,omitempty"`
- Certificates string `json:"certificates,omitempty"`
+ Resource string `json:"resource"` // new-reg
+ Contact []Contact `json:"contact,omitempty"`
+ Agreement string `json:"agreement,omitempty"`
+ Authorizations string `json:"authorizations,omitempty"`
+ Certificates string `json:"certificates,omitempty"`
}
// RegistrationResp ...