util

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TLSCerTypeCA   = 0
	TLSCerTypeCert = 1
)

Variables

This section is empty.

Functions

func TLSGenerateConfig

func TLSGenerateConfig() (serverTLSConf *tls.Config, clientTLSConf *tls.Config, err error)

func TLSGenerateX509Cer

func TLSGenerateX509Cer(cerType uint) *x509.Certificate

Types

This section is empty.

Jump to

Keyboard shortcuts

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