aboutsummaryrefslogtreecommitdiff
path: root/cmd/acme/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/acme/config.go')
-rw-r--r--cmd/acme/config.go24
1 files changed, 16 insertions, 8 deletions
diff --git a/cmd/acme/config.go b/cmd/acme/config.go
index 46305d6..cbde37a 100644
--- a/cmd/acme/config.go
+++ b/cmd/acme/config.go
@@ -7,9 +7,14 @@ import (
)
type Config struct {
- Account []Account
- Want []Want
- Hook []Hook
+ Provider map[string]Provider
+ Account map[string]Account
+ Desire map[string]Desire
+ Hook map[string]Hook
+}
+
+type Provider struct {
+ Directory string
}
type Account struct {
@@ -18,11 +23,14 @@ type Account struct {
Provider string
}
-type Want struct {
- Domains []string
- Cert string
- Key string
- Webroot string
+type Desire struct {
+ Altnames []string
+ Key string
+ Cert string
+ Webroot string
+ Account string
+ Gracetime string
+ Hook string
}
type Hook struct {