Versions in this module Expand all Collapse all v1 v1.1.1 Feb 22, 2024 Changes in this version + func EncodePrivate(privKey *ecdsa.PrivateKey) (string, error) + type Controller struct + func NewController(server vCore.Core, api *panel.Client, config *conf.Options) *Controller + func (c *Controller) Close() error + func (c *Controller) SpeedChecker() error + func (c *Controller) Start() error + type Lego struct + func NewLego(config *conf.CertConfig) (*Lego, error) + func (l *Lego) CheckCert(file []byte) (bool, error) + func (l *Lego) CreateCert() (err error) + func (l *Lego) RenewCert() error + func (l *Lego) SetProvider() error + type Node struct + func New() *Node + func (n *Node) Close() + func (n *Node) Start(nodes []conf.NodeConfig, core vCore.Core) error + type User struct + Email string + KeyEncoded string + Registration *registration.Resource + func NewLegoUser(path string, email string) (*User, error) + func (u *User) DecodePrivate(pemEncodedPriv string) (*ecdsa.PrivateKey, error) + func (u *User) GetEmail() string + func (u *User) GetPrivateKey() crypto.PrivateKey + func (u *User) GetRegistration() *registration.Resource + func (u *User) Load(path string) error + func (u *User) Save(path string) error