traefik/vendor/github.com/xenolf/lego/registration/user.go

14 lines
283 B
Go
Raw Normal View History

2019-01-07 17:30:06 +00:00
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
}