Use certmagic, simplify config, set HTTP timeouts and a modern TLSConfig
This commit is contained in:
parent
c5a9a5b1c1
commit
6c3a5777c4
171 changed files with 30701 additions and 4912 deletions
13
vendor/github.com/xenolf/lego/registration/user.go
generated
vendored
Normal file
13
vendor/github.com/xenolf/lego/registration/user.go
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
package registration
|
||||
|
||||
import (
|
||||
"crypto"
|
||||
)
|
||||
|
||||
// User interface is to be implemented by users of this library.
|
||||
// It is used by the client type to get user specific information.
|
||||
type User interface {
|
||||
GetEmail() string
|
||||
GetRegistration() *Resource
|
||||
GetPrivateKey() crypto.PrivateKey
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue