Add a new protocol
Co-authored-by: Gérald Croës <gerald@containo.us>
This commit is contained in:
parent
0ca2149408
commit
4a68d29ce2
231 changed files with 6895 additions and 4395 deletions
|
@ -1,6 +1,6 @@
|
|||
package acme
|
||||
|
||||
// StoredData represents the data managed by the Store
|
||||
// StoredData represents the data managed by Store
|
||||
type StoredData struct {
|
||||
Account *Account
|
||||
Certificates []*Certificate
|
||||
|
@ -8,7 +8,7 @@ type StoredData struct {
|
|||
TLSChallenges map[string]*Certificate
|
||||
}
|
||||
|
||||
// Store is a generic interface to represents a storage
|
||||
// Store is a generic interface that represents a storage
|
||||
type Store interface {
|
||||
GetAccount() (*Account, error)
|
||||
SaveAccount(*Account) error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue