acme

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(
	email, serverURL string,
	reregister bool,
	vault *vault.VaultClient,
	logger *logrus.Logger) (*lego.Client, error)

NewClient initializes acme client and returns

Types

type User

type User struct {
	Email        string
	Registration *registration.Resource
	// contains filtered or unexported fields
}

User represents a users local saved credentials. Implements registration.User interface

func (*User) GetEmail

func (u *User) GetEmail() string

GetEmail returns the email address for the account.

func (*User) GetPrivateKey

func (u *User) GetPrivateKey() crypto.PrivateKey

GetPrivateKey returns the private account key.

func (User) GetRegistration

func (u User) GetRegistration() *registration.Resource

GetRegistration returns the server registration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL