mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
13 lines
283 B
Go
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
|
|
}
|