traefik/vendor/github.com/xenolf/lego/registration/user.go
Ludovic Fernandez 9b2423aaba Update Lego
2019-01-08 14:32:04 +01:00

13 lines
283 B
Go

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
}