tls

package
v0.0.0-...-6225b90 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClientTLSConfig = &tls.Config{
	InsecureSkipVerify: true,
	NextProtos:         []string{defaultALPN},
	ClientSessionCache: newSessionCache(),
	CipherSuites:       []uint16{tls.TLS_CHACHA20_POLY1305_SHA256},
}

Functions

func GenerateTLSConfig

func GenerateTLSConfig() (*tls.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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