config

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 5 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
	SqsBatchSize            int64
	SqsWaitSeconds          int64
	SqsRunInterval          int
	K8sResourceId           string
	ApiTenantId             string
	ApiClientId             string
	ApiClientSecret         string
	ApiAuthorizedGroupId    string
	ApiCacheTTL             time.Duration
	ApiCacheRedisHost       string
	ApiCacheRedisTLSEnabled bool
}

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