config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetEnvConfig

func SetEnvConfig()

Types

type Configuration

type Configuration struct {
	AppEnv                string `env:"APP_ENV"`
	LogLevel              string `env:"LOG_LEVEL"`
	RunningMode           string `env:"RUNNING_MODE"` //fallback or main
	Port                  string `env:"PORT"`         //fallback or main
	KeycloakAdmin         string `env:"KEYCLOAK_ADMIN"`
	KeycloakAdminPassword string `env:"KEYCLOAK_ADMIN_PASSWORD"`
	KeycloakUrl           string `env:"KEYCLOAK_URL"`
	KeycloakSecret        string `env:"CLIENT_SECRET"`
	KeycloakRealm         string `env:"KEYCLOAK_REALM"`
	KeycloakClientId      string `env:"KEYCLOAK_CLIENT_ID"`
}
var CONFIGURATION *Configuration

Jump to

Keyboard shortcuts

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