aboutsummaryrefslogtreecommitdiff
path: root/messages.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-10 16:39:12 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-12-10 16:39:12 +0100
commit26006592a75df616eed5f9214348c94687991f8d (patch)
tree2f529b3ca2532cc1b88568822457de5edc962ef9 /messages.go
parent32215b65656e77c2064fd0f0318bbc30ca96ce29 (diff)
Add helper contact
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 ...