cert

package
v0.2.2-linux Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientCerts

func ClientCerts(cert, key, root string) (credentials.TransportCredentials, error)

func MakeCertPool

func MakeCertPool(rootPath string) (*x509.CertPool, error)

MakeCertPool generates a CertPool based on rootPath.

func ServerCerts

func ServerCerts(cert, key, root string) (credentials.TransportCredentials, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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