tls

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAutocertLoader added in v0.18.0

func NewAutocertLoader(_, instName string, _, inlineArgs []string) (module.Module, error)

func NewFileLoader

func NewFileLoader(_, instName string, _, inlineArgs []string) (module.Module, error)

func NewSelfSignedLoader

func NewSelfSignedLoader(_, instName string, _, inlineArgs []string) (module.Module, error)

Types

type AutocertLoader added in v0.18.0

type AutocertLoader struct {
	// contains filtered or unexported fields
}

AutocertLoader implements module.TLSLoader using golang.org/x/crypto/acme/autocert. It obtains and automatically renews Let's Encrypt certificates using the HTTP-01 challenge. This requires port 80 to be available for the ACME challenge handler.

func (*AutocertLoader) ConfigureTLS added in v0.18.0

func (l *AutocertLoader) ConfigureTLS(c *tls.Config) error

func (*AutocertLoader) Init added in v0.18.0

func (l *AutocertLoader) Init(cfg *config.Map) error

func (*AutocertLoader) InstanceName added in v0.18.0

func (l *AutocertLoader) InstanceName() string

func (*AutocertLoader) Name added in v0.18.0

func (l *AutocertLoader) Name() string

type FileLoader

type FileLoader struct {
	// contains filtered or unexported fields
}

func (*FileLoader) Close

func (f *FileLoader) Close() error

func (*FileLoader) ConfigureTLS

func (f *FileLoader) ConfigureTLS(c *tls.Config) error

func (*FileLoader) Init

func (f *FileLoader) Init(cfg *config.Map) error

func (*FileLoader) InstanceName

func (f *FileLoader) InstanceName() string

func (*FileLoader) Name

func (f *FileLoader) Name() string

type SelfSignedLoader

type SelfSignedLoader struct {
	// contains filtered or unexported fields
}

func (*SelfSignedLoader) ConfigureTLS

func (f *SelfSignedLoader) ConfigureTLS(c *tls.Config) error

func (*SelfSignedLoader) Init

func (f *SelfSignedLoader) Init(cfg *config.Map) error

func (*SelfSignedLoader) InstanceName

func (f *SelfSignedLoader) InstanceName() string

func (*SelfSignedLoader) Name

func (f *SelfSignedLoader) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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