tls

package
v0.0.0-...-33825f2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package tls provides helpers for generation of local tls.Certificates for use in testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCert

func NewCert() (tls.Certificate, error)

NewCert will create a new tls.Certificate for use in testing. This cert is self signed and must not be used in production code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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