certs

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 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