config

package
v0.0.0-...-6149065 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigGRPC            string = "gRPCPort"
	ConfigTLSEnabled      string = "tlsEnabled"
	ConfigTLSCertPath     string = "tlsCertPath"
	ConfigTLSCertProvider string = "tlsCertProvider"
	SelfCertProvider      string = "self"
	ExternalCertProvider  string = "external"
)

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() error

Types

type RelayConfig

type RelayConfig struct {
	GRPC            string
	TLSEnabled      bool
	TLSCertPath     string
	TLSCertProvider string
}
var GlobalConfig RelayConfig

Jump to

Keyboard shortcuts

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