fix(v2): field cases.
This commit is contained in:
parent
e6fb708c0f
commit
f8e2d89d6c
@ -15,15 +15,15 @@ type StoredData struct {
|
|||||||
|
|
||||||
// Certificate is a struct which contains all data needed from an ACME certificate
|
// Certificate is a struct which contains all data needed from an ACME certificate
|
||||||
type Certificate struct {
|
type Certificate struct {
|
||||||
Domain Domain
|
Domain Domain `json:"domain,omitempty"`
|
||||||
Certificate []byte
|
Certificate []byte `json:"certificate,omitempty"`
|
||||||
Key []byte
|
Key []byte `json:"key,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Domain holds a domain name with SANs
|
// Domain holds a domain name with SANs
|
||||||
type Domain struct {
|
type Domain struct {
|
||||||
Main string
|
Main string `json:"main,omitempty"`
|
||||||
SANs []string
|
SANs []string `json:"sans,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Account is used to store lets encrypt registration info
|
// Account is used to store lets encrypt registration info
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user