config

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Log        = logrus.New()
	GrpcAddr   = flag.String("grpc-addr", "0.0.0.0:6543", "The address that the gRPC server uses to listen on")
	HttpAddr   = flag.String("http-addr", "0.0.0.0:16543", "The address that the HTTP server uses to listen on")
	Data       = flag.String("data", "./data", "The folder in which persisted data resides")
	UseTLS     = flag.Bool("tls", false, "Whether or not the server uses TLS")
	CertFile   = flag.String("cert", "cert.pem", "The location of the TLS certificate file")
	KeyFile    = flag.String("key", "key.pem", "The location of the TLS key file")
	EnableProm = flag.Bool("enable-prom", true, "Whether or not the Prometheus endpoint should be enabled")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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