configutils

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadTLSConfig

func LoadTLSConfig(basePath ...string) (*tls.Config, error)

LoadTLSConfig reads a TLS config from the first directory containing one or both of the following files:

  • ca.pem
  • cert.pem + key.pem

If none are found, a nil config is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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