tlsflag

package
v0.0.0-...-12aede5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertificatePathsFor

func CertificatePathsFor(hostname string) (certPath string, keyPath string, _ error)

func GetInsecure

func GetInsecure() bool

func GetUseTLS

func GetUseTLS() string

func Insecure

func Insecure() bool

func RegisterFlags

func RegisterFlags(fs *flag.FlagSet)

func SetInsecure

func SetInsecure(b bool)

func SetUseTLS

func SetUseTLS(s string)

Types

type ErrNotYetCreated

type ErrNotYetCreated struct {
	HostConfigPath string
	CertPath       string
	KeyPath        string
}

func (*ErrNotYetCreated) Error

func (e *ErrNotYetCreated) Error() string

Jump to

Keyboard shortcuts

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