security

package
v5.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn interface {
	net.Conn
}

type ConnectionApplicationProtocol added in v5.7.0

type ConnectionApplicationProtocol interface {
	GetConnectionApplicationProtocol() (string, error)
}

type Engine

type Engine interface {
	Client(conn net.Conn, opts ...Option) (Conn, error)
}

func CreateSecurityEngineFromSettings

func CreateSecurityEngineFromSettings(context context.Context, settings *internet.MemoryStreamConfig) (Engine, error)

type Option

type Option interface {
	// contains filtered or unexported methods
}

type OptionWithALPN

type OptionWithALPN struct {
	ALPNs []string
}

type OptionWithDestination

type OptionWithDestination struct {
	Dest net.Destination
}

Jump to

Keyboard shortcuts

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