server

package
v1.77.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTLSPathsNotProvided = errors.New("TLS certificate path or key path not provided")

Functions

func NormalizeTLSConfig

func NormalizeTLSConfig(cfg *tls.Config) *tls.Config

func TLSConfigFromPath

func TLSConfigFromPath(certPath, certKeyPath string) (*tls.Config, error)

Types

type Driver

type Driver interface {
	driver.Server
	driver.TLSServer
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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