credential

package
v0.0.0-...-139fbb7 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAppendCertsFromPEM = fmt.Errorf("could not append client certs")

Functions

func New

func New(certPath, keyPath, clientCAPath string) (credentials.TransportCredentials, error)

func NewTLSConfig

func NewTLSConfig(certPath, keyPath string) (*tls.Config, error)

func SetTLSConfigClientCA

func SetTLSConfigClientCA(config *tls.Config, clientCAPath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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