1 package goacmedns
2 3 // Account is a struct that holds the registration response from an ACME-DNS
4 // server. It represents an API username/key that can be used to update TXT
5 // records for the account's subdomain.
6 type Account struct {
7 FullDomain string `json:"fulldomain"`
8 SubDomain string `json:"subdomain"`
9 Username string `json:"username"`
10 Password string `json:"password"`
11 // ServerURL contains the URL of the acme-dns server the Account was registered with
12 // (may be empty for Account instances registered before this field was added).
13 ServerURL string `json:"server_url"`
14 }
15