tlscert

package
v3.2.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reloader

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

Reloader 证书热重载器

func NewReloader

func NewReloader(certFile, keyFile string) (*Reloader, error)

func (*Reloader) Close

func (r *Reloader) Close() error

func (*Reloader) GetCertificate

func (r *Reloader) GetCertificate(_ *tls.ClientHelloInfo) (*tls.Certificate, error)

Jump to

Keyboard shortcuts

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