tlsx

package
v0.0.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidCertificateConfiguration = errors.New("tls configuration is invalid")
View Source
var ErrNoCertificatesConfigured = errors.New("no tls configuration was found")

Functions

func Certificate

func Certificate(prefix string) ([]tls.Certificate, error)

Certificate returns loads a TLS Certificate by looking at environment variables

func CertificateHelpMessage

func CertificateHelpMessage(prefix string) string

CertificateHelpMessage returns a help message for configuring TLS Certificates

func HTTPSCertificate

func HTTPSCertificate() ([]tls.Certificate, error)

func HTTPSCertificateHelpMessage

func HTTPSCertificateHelpMessage() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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