tls

package
v1.0.4 Latest Latest
Warning

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

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

Documentation

Overview

Package tls configures TLS with root CAs given by flag.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(serverName string) *tls.Config

Config takes an optional server name (for SNI) and returns a TLS config with Root CAs set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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