config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GIT_REPOSITORIES_FULL_BASE_PATH_KEY = "GIT_REPOSITORIES_FULL_BASE_PATH"
	GIT_HOST_SIGNER_PATH_KEY            = "GIT_HOST_SIGNER_PATH"
	GIT_POSTGRESQL_USERNAME_KEY         = "GIT_POSTGRESQL_USERNAME"
	GIT_POSTGRESQL_PASSWORD_KEY         = "GIT_POSTGRESQL_PASSWORD"
	GIT_POSTGRESQL_DATABASE_NAME_KEY    = "GIT_POSTGRESQL_DATABASE_NAME"
	GIT_POSTGRESQL_PORT_KEY             = "GIT_POSTGRESQL_PORT"
	GIT_POSTGRESQL_HOST_KEY             = "GIT_POSTGRESQL_HOST"
)

Variables

View Source
var (
	RepositoriesBasePath string
	PathToHostSigner     string
	PostgreSQLUsername   string
	PostgreSQLPassword   string
	PostgreSQLDatabase   string
	PostgreSQLPort       string
	PostgreSQLHost       string
)

Functions

func CheckConfig

func CheckConfig() error

CheckConfig checks if all required environment variables are set

Types

This section is empty.

Jump to

Keyboard shortcuts

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