Files
kubesphere/vendor/github.com/go-acme/lego/registration/user.go
2019-05-13 11:28:20 +08:00

14 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
}