setupclient

package
v0.0.0-...-aa74118 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 12

Documentation

Overview

Package setupclient assists in setting up TLS credentials for a client.

Package setupclient provides convenience functions for setting up a client (tool) with TLS credentials.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCertDirectory

func GetCertDirectory() string

GetCertDirectory returns the directory containing the client certificates.

func SetupTls

func SetupTls(ignoreMissingCerts bool) error

SetupTls loads zero or more client certificates from files and registers them with the lib/srpc package. The following command-line flags are registered with the standard flag package:

-certDirectory: Name of directory containing user SSL certificates

Types

This section is empty.

Jump to

Keyboard shortcuts

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