mirror of
https://github.com/1f349/orchid.git
synced 2024-11-09 23:02:53 +00:00
17 lines
406 B
Go
17 lines
406 B
Go
|
package renewal
|
||
|
|
||
|
import (
|
||
|
"crypto"
|
||
|
"github.com/go-acme/lego/v4/registration"
|
||
|
)
|
||
|
|
||
|
type Account struct {
|
||
|
email string
|
||
|
reg *registration.Resource
|
||
|
key crypto.PrivateKey
|
||
|
}
|
||
|
|
||
|
func (a *Account) GetEmail() string { return a.email }
|
||
|
func (a *Account) GetRegistration() *registration.Resource { return a.reg }
|
||
|
func (a *Account) GetPrivateKey() crypto.PrivateKey { return a.key }
|