acme

package
v0.0.0-...-7578c0e Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Acme

type Acme struct {
	*logger.Logger
	// contains filtered or unexported fields
}

func New

func New(l *logger.Logger, dataDir string, httpPort int) *Acme

func (*Acme) AddHost

func (a *Acme) AddHost(hosts ...string)

AddHost adds host(s) to allowed acme hosts, if host is url, then host part is extracted

func (*Acme) ApplyTLSConfig

func (a *Acme) ApplyTLSConfig(cfg *tls.Config) *tls.Config

func (*Acme) Start

func (a *Acme) Start()

Jump to

Keyboard shortcuts

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