Versions in this module Expand all Collapse all v0 v0.3.3 Apr 6, 2026 Changes in this version + func EncodePrivate(privKey *ecdsa.PrivateKey) (string, error) + type Controller struct + func NewController(api *panel.Client, conf *conf.NodeConfig, info *panel.NodeInfo) *Controller + func (c *Controller) Close() error + func (c *Controller) Start(x *core.V2Core) error + type Lego struct + func NewLego(config *panel.CertInfo) (*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 + NodeInfos []*panel.NodeInfo + func New(nodes []conf.NodeConfig) (*Node, error) + func (n *Node) Close() error + func (n *Node) Start(nodes []conf.NodeConfig, core *core.V2Core) 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