setupclient

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 48

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