config

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 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
}

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