tls

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(domain string, certFile string, keyFile string) (*crypto_tls.Config, error)

Config - Returns a TLS configuration.

func InitCertManager

func InitCertManager(host string, email string) *autocert.Manager

InitCertManager - Initialise the Certification Manager for auto generation.

func ServerOverrides

func ServerOverrides(domain string, server http.Server, domainConfig config.Server) http.Server

ServerOverrides - Overrides the http.Server configuration for TLS.

Types

This section is empty.

Jump to

Keyboard shortcuts

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