aboutsummaryrefslogtreecommitdiff
path: root/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'provider.go')
-rw-r--r--provider.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/provider.go b/provider.go
index 67674e7..ea8fafc 100644
--- a/provider.go
+++ b/provider.go
@@ -20,7 +20,6 @@ type Resource string
const (
ResNewReg Resource = "new-reg"
- ResRecoverReg Resource = "recover-reg"
ResNewAuthz Resource = "new-authz"
ResNewCert Resource = "new-cert"
ResRevokeCert Resource = "revoke-cert"
@@ -33,10 +32,16 @@ const (
// Directory ...
type Directory struct {
NewReg string `json:"new-reg"`
- RecoverReg string `json:"recover-reg"`
NewAuthz string `json:"new-authz"`
NewCert string `json:"new-cert"`
RevokeCert string `json:"revoke-cert"`
+ Meta *Meta `json:"meta,omitemtpy"`
+}
+
+type Meta struct {
+ TOS string `json:"terms-of-service"`
+ Website string `json:"website"`
+ CAA []string `json:"caa-identities"`
}
// Provider ...