[acme db interface] wip

This commit is contained in:
max furman 2021-03-04 13:18:41 -08:00
parent 1135ae04fc
commit 491c188a5e

View file

@ -8,15 +8,14 @@ import (
// Authorization representst an ACME Authorization. // Authorization representst an ACME Authorization.
type Authorization struct { type Authorization struct {
Identifier Identifier `json:"identifier"` Identifier Identifier `json:"identifier"`
Status Status `json:"status"` Status Status `json:"status"`
Expires string `json:"expires"` Expires time.Time `json:"expires"`
Challenges []*Challenge `json:"challenges"` Challenges []*Challenge `json:"challenges"`
ChallengeIDs string `json::"-"` Wildcard bool `json:"wildcard"`
Wildcard bool `json:"wildcard"` ID string `json:"-"`
ID string `json:"-"` AccountID string `json:"-"`
AccountID string `json:"-"` Token string `json:"-"`
Token string `json:"-"`
} }
// ToLog enables response logging. // ToLog enables response logging.