1
0
Fork 0

Add a new protocol

Co-authored-by: Gérald Croës <gerald@containo.us>
This commit is contained in:
Julien Salleyron 2019-03-14 09:30:04 +01:00 committed by Traefiker Bot
parent 0ca2149408
commit 4a68d29ce2
231 changed files with 6895 additions and 4395 deletions

View file

@ -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