api

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ListenPort is the dataplane external listening port.
	ListenPort = 443
)

Variables

This section is empty.

Functions

func DataplaneSNI

func DataplaneSNI(peer string) string

DataplaneSNI returns the dataplane SNI for a specific peer.

func DataplaneServerName

func DataplaneServerName(peer string) string

DataplaneServerName returns the dataplane server name for a specific peer.

func StripServerPrefix

func StripServerPrefix(serverName string) (string, error)

StripServerPrefix strips the dataplane server prefix from the dataplane server name, yielding the peer name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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