cert

package
v4.12.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveNewSelfSignedPEM

func SaveNewSelfSignedPEM(filename string) (*tls.Config, error)

SaveNewSelfSignedPEM is sample code of how to create and store a new random self signed certificate and create a resulting tls.Config to secure http connections.

Types

This section is empty.

Jump to

Keyboard shortcuts

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