acme

package
v0.0.0-...-301faa4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package acme supports obtaining TLS certificates via ACME/Let's Encrypt.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoProvider = errors.New("no dns01 challenge provider set")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	User
	Directory string
	Provider  challenge.Provider
}

func ConfigFromSettings

func ConfigFromSettings(src settings.Source) (*Config, error)

func (*Config) ToClient

func (c *Config) ToClient() (*lego.Client, error)

func (*Config) ToLego

func (c *Config) ToLego() *lego.Config

type User

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

func (*User) GetEmail

func (u *User) GetEmail() string

func (*User) GetPrivateKey

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

func (*User) GetRegistration

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

Jump to

Keyboard shortcuts

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