mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
18 lines
308 B
Go
18 lines
308 B
Go
package cert
|
|
|
|
import (
|
|
"github.com/0xJacky/Nginx-UI/model"
|
|
)
|
|
|
|
// User You'll need a user or account type that implements acme.User
|
|
type User struct {
|
|
model.AcmeUser
|
|
}
|
|
|
|
func newUser(email string) *User {
|
|
return &User{
|
|
AcmeUser: model.AcmeUser{
|
|
Email: email,
|
|
},
|
|
}
|
|
}
|