From 26006592a75df616eed5f9214348c94687991f8d Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 10 Dec 2015 16:39:12 +0100 Subject: Add helper contact --- messages.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'messages.go') 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 ... -- cgit v1.2.3