tls

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSMode

type TLSMode string
const (
	TLSModeStrict     TLSMode = "STRICT"
	TLSModePermissive TLSMode = "PERMISSIVE"
	TLSModeDisabled   TLSMode = "DISABLED"
)

type UnifiedListener

type UnifiedListener interface {
	net.Listener

	SetTLSMode(mode TLSMode)
	SetTLSClientAuthMode(mode tls.ClientAuthType)
}

func NewUnifiedListener

func NewUnifiedListener(listener net.Listener, tlsConfig *tls.Config, mode TLSMode) UnifiedListener

Jump to

Keyboard shortcuts

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