test

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTestCertificateFiles added in v0.1.1

func GenerateTestCertificateFiles(destDir string, serverNames []string)

func GenerateTestTLSConfigs

func GenerateTestTLSConfigs(serverNames []string) []*tls.Config

Types

type TestCert added in v0.1.1

type TestCert struct {
	CA   []byte
	Cert []byte
	Key  []byte
}

func GenerateTestCertificates

func GenerateTestCertificates(serverNames []string) (certs []TestCert)

type Variant added in v0.1.1

type Variant struct {
	Name     string
	InMemory bool
	TLS      bool
}

Jump to

Keyboard shortcuts

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