tlslocal

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureServerTLSConfig

func EnsureServerTLSConfig(opts Options) (*tls.Config, error)

func ServeWithTLS

func ServeWithTLS(srv *http.Server, ln net.Listener, cfg *tls.Config) error

Types

type Options

type Options struct {
	Dir               string // e.g., ~/.mcpproxy/certs
	RequireClientCert bool
}

Jump to

Keyboard shortcuts

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