config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 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 {
	AwsRegion             string
	DbEndpoint            string
	DbAwsRegion           string
	DbTableName           string
	DbIndexName           string
	SqsEndpoint           string
	SqsAwsRegion          string
	SqsQueueName          string
	OidcClientId          string
	OidcIssuerUrl         string
	ApiRateLimiterEnabled bool
	LogLevel              log.Lvl
}

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