Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodePrivate ¶
func EncodePrivate(privKey *ecdsa.PrivateKey) (string, error)
Types ¶
type Controller ¶
func NewController ¶
NewController return a Node controller with default parameters.
func (*Controller) Close ¶
func (c *Controller) Close() error
Close implement the Close() function of the service interface
func (*Controller) SpeedChecker ¶
func (c *Controller) SpeedChecker() error
func (*Controller) Start ¶
func (c *Controller) Start() error
Start implement the Start() function of the service interface
type Lego ¶
type Lego struct {
// contains filtered or unexported fields
}
func (*Lego) CreateCert ¶
func (*Lego) SetProvider ¶
type User ¶
type User struct { Email string `json:"Email"` Registration *registration.Resource `json:"Registration"` KeyEncoded string `json:"Key"` // contains filtered or unexported fields }
func (*User) DecodePrivate ¶
func (u *User) DecodePrivate(pemEncodedPriv string) (*ecdsa.PrivateKey, error)
func (*User) GetPrivateKey ¶
func (u *User) GetPrivateKey() crypto.PrivateKey
func (*User) GetRegistration ¶
func (u *User) GetRegistration() *registration.Resource
Click to show internal directories.
Click to hide internal directories.