configuration

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: Apache-2.0 Imports: 12 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 {
	ServerPort string

	KeycloakUrl              string
	KeycloakRealm            string
	KeycloakPageMax          int
	AuthClientId             string `config:"secret"`
	AuthClientSecret         string `config:"secret"`
	AuthExpirationTimeBuffer float64

	UserTopic                string
	KafkaBootstrap           string
	ConsumerGroup            string
	Debug                    bool
	WaitingRoomUrl           string
	ProcessSchedulerUrl      string
	DashboardServiceUrl      string
	ImportsDeploymentUrl     string
	BrokerExportsUrl         string
	DatabaseExportsUrl       string
	AnalyticsOperatorRepoUrl string
	AnalyticsFlowRepoUrl     string
	AnalyticsFlowEngineUrl   string
	AnalyticsPipelineUrl     string
	NotifierUrl              string
	DeviceRepositoryUrl      string

	RemoveExportDatabaseMetadataOnUserDelete bool

	EnableSwaggerUi bool

	ApiDocsProviderBaseUrl string

	InitTopics bool

	LogLevel string
	// contains filtered or unexported fields
}

func Load

func Load(location string) (config Config, err error)

loads config from json in location and used environment variables (e.g ZookeeperUrl --> ZOOKEEPER_URL)

func (*Config) GetLogger added in v0.0.20

func (this *Config) GetLogger() *slog.Logger

Jump to

Keyboard shortcuts

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