sni

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2015 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServeTLSSNI

func ListenAndServeTLSSNI(srv *http.Server, certs []Certificates) error

ListenAndServeTLSSNI openes a http listener with SNI certificate selection from the Certificates collection

Types

type Certificates

type Certificates struct {
	CertFile string
	KeyFile  string
}

Certificates is a representation of a certificate and a key

Jump to

Keyboard shortcuts

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