tls

package
v0.0.0-...-3a47f7e Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadClientTLSCredentials

func LoadClientTLSCredentials(cacertPath string) (credentials.TransportCredentials, error)

LoadClientTLSCredentials creates client TransportCredentials with a path to a Certificate of the ca the server certificate got issued from

func LoadServerTLSCredentials

func LoadServerTLSCredentials(certPath, keyPath string) (credentials.TransportCredentials, error)

LoadServerTLSCredentials creates server TransportCredentials with a certificate and keyfile

Types

This section is empty.

Jump to

Keyboard shortcuts

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