testhelpers

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertPool

func CertPool(certName string) *x509.CertPool

func GenerateCaAndMutualTlsCerts

func GenerateCaAndMutualTlsCerts() (caFileName string, certFileName string, privateKeyFileName string, cert tls.Certificate)

func LaunchConflictingServer

func LaunchConflictingServer(port int) *http.Server

func NewClient

func NewClient(caCertPool *x509.CertPool, cert tls.Certificate) *http.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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