config

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	ApiRateLimiterEnabled bool
	ApiHost               string
	AwsRegion             string
	DbEndpoint            string
	DbAwsRegion           string
	DbTableName           string
	DbIndexName           string
	LogLevel              log.Lvl
	OidcClientId          string
	OidcIssuerUrl         string
	SqsEndpoint           string
	SqsAwsRegion          string
	SqsQueueName          string
	K8sResourceId         string
	ApiTenantId           string
	ApiClientId           string
	ApiClientSecret       string
	ApiAuthorizedGroupId  string
}

func LoadApiConfig

func LoadApiConfig() (*AppConfig, error)

func LoadClientConfig

func LoadClientConfig() (*AppConfig, error)

Jump to

Keyboard shortcuts

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