config

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 6 Imported by: 9 modules, 17 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocketConfig

type LocketConfig struct {
	CaFile                        string                `json:"ca_file"`
	CertFile                      string                `json:"cert_file"`
	DatabaseConnectionString      string                `json:"database_connection_string"`
	DBConnectionTimeout           durationjson.Duration `json:"db_connection_timeout,omitempty"`
	DBReadTimeout                 durationjson.Duration `json:"db_read_timeout,omitempty"`
	DBWriteTimeout                durationjson.Duration `json:"db_write_timeout,omitempty"`
	DBOperationTimeout            durationjson.Duration `json:"db_operation_timeout,omitempty"`
	MaxOpenDatabaseConnections    int                   `json:"max_open_database_connections,omitempty"`
	MaxDatabaseConnectionLifetime durationjson.Duration `json:"max_database_connection_lifetime,omitempty"`
	DatabaseDriver                string                `json:"database_driver,omitempty"`
	KeyFile                       string                `json:"key_file"`
	ListenAddress                 string                `json:"listen_address"`
	SQLCACertFile                 string                `json:"sql_ca_cert_file,omitempty"`
	SQLEnableIdentityVerification bool                  `json:"sql_enable_identity_verification,omitempty"`
	LoggregatorConfig             loggingclient.Config  `json:"loggregator"`
	ReportInterval                durationjson.Duration `json:"report_interval,omitempty"`
	HealthCheckTimeout            durationjson.Duration `json:"health_check_timeout,omitempty"`
	HealthCheckFailureThreshold   int                   `json:"health_check_failure_threshold,omitempty"`
	HealthCheckInterval           durationjson.Duration `json:"health_check_interval,omitempty"`
	EnableDBHealthCheck           bool                  `json:"enable_db_health_check,omitempty"`
	debugserver.DebugServerConfig
	lagerflags.LagerConfig
}

func NewLocketConfig

func NewLocketConfig(configPath string) (LocketConfig, error)

Jump to

Keyboard shortcuts

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