config

package
v0.0.0-...-a969eaa 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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Neo4j  commonConfig.Neo4jConfig
	Logger logger.Config
	Jaeger tracing.JaegerConfig
	Cron   cronconfig.Config

	AWS struct {
		Bucket                               string `env:"AWS_S3_BUCKET,required"`
		Region                               string `env:"AWS_REGION,required"`
		CloudWatchNamespace                  string `env:"AWS_CLOUDWATCH_METRICS_NAMESPACE,required" envDefault:"Openline"`
		MetricsDimensionEnvironment          string `env:"AWS_CLOUDWATCH_METRICS_DIMENSION_ENVIRONMENT,required" envDefault:"openline-dev"`
		MetricsDimensionNeo4jIntegrityChecks string `env:"AWS_CLOUDWATCH_METRICS_DIMENSION_NEO4J_INTEGRITY_CHECKS,required" envDefault:"Neo4jIntegrityChecks"`
	}
	SlackConfig struct {
		DataAlertsRegisteredWebhook string `env:"SLACK_DATA_ALERTS_REGISTERED_WEBHOOK" envDefault:""`
	}
}

func Load

func Load() *Config

Jump to

Keyboard shortcuts

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