Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v2.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 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