package
0.0.0-20240912171544-ef18504847b0
Repository: https://github.com/google/gnxi.git
Documentation: pkg.go.dev
# Functions
AttachToContext attaches credentials to a context.
AuthorizeUser checks for valid credentials in the context Metadata.
ClientCredentials generates gRPC DialOptions for existing credentials.
GetCAEntity gets a CA entity from a CA file and private key.
LoadCertificates loads certificates from files and exits if there's an error.
ParseCertificates gets certificates from files or generates them from the CA.
ServerCredentials generates gRPC ServerOptions for existing credentials.
SetTargetName sets the targetName variable.
# Variables
TargetName is a flag containing the hostname verfified by TLS handshake.