certs

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelCert

func DelCert(workerId string)

func GetCertificateFunc

func GetCertificateFunc(certsLocal ...*config.Cert) func(info *tls.ClientHelloInfo) (*tls.Certificate, error)

func SaveCert

func SaveCert(workerId string, cert *tls.Certificate)

Types

type ICert

type ICert interface {
	SaveCert(workerId string, cert *tls.Certificate)
	DelCert(workerId string)
}

Jump to

Keyboard shortcuts

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