grpc

package
v0.0.0-...-0abd718 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CAPath = "$HOME/.step/certs/root_ca.crt"
View Source
var ClientCertificatePath = "/etc/ssl/certs/conflow_client_cert.pem"
View Source
var ClientKeyPath = "/etc/ssl/certs/conflow_client_key.pem"
View Source
var ServerCertificatePath = "/etc/ssl/certs/conflow_server_cert.pem"
View Source
var ServerKeyPath = "/etc/ssl/certs/conflow_server_key.pem"
View Source
var TlsFlag *bool

Functions

func CreateNewClientConnection

func CreateNewClientConnection(addr string) (conn *grpc.ClientConn, err error)

func DefineFlags

func DefineFlags()

func GetClientTLSConfig

func GetClientTLSConfig(rootCAPath, clientCertPath, clientKeyPath string) (*tls.Config, error)

func GetWorkerTLSConfig

func GetWorkerTLSConfig(rootCAPath, srvCertPath, srvKeyPath string) (*tls.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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