config

package
v1.10.8 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientTLSConfig

func ClientTLSConfig() *tls.Config

ClientTLSConfig returns a base TLS config using standard cipher suites with additional attrs set, including a minimum TLS version and session tickets disabling.

func GetTLSConfigFromFiles

func GetTLSConfigFromFiles(certFile, keyFile string) (*tls.Config, error)

func StandardCipherSuites

func StandardCipherSuites() []uint16

StandardCipherSuites returns a list of acceptable cipher suites in priority order of use.

Types

This section is empty.

Jump to

Keyboard shortcuts

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