Documentation ¶
Index ¶
Constants ¶
View Source
const ( PgBackup = "PG_BACKUP" PgData = "PGDATA" PgBinDir = "PG_BINDIR" PgHome = "PG_HOME" PgPasswordFile = "PG_PASSWORD_FILE" PgReplicationUser = "PG_REPLICATION_USER" PgUser = "PG_USER" HttpPort = "PGCP_HTTP_PORT" ListenAddress = "PGCP_LISTEN_ADDR" LogLevel = "PGCP_LOG_LEVEL" MetricsEnabled = "PGCP_METRICS_ENABLED" ProfilerEnabled = "PGCP_PROFILER_ENABLED" StorageType = "PGCP_STORAGE_TYPE" StorageBootstrap = "PGCP_STORAGE_BOOTSTRAP" StorageTtl = "PGCP_STORAGE_TTL" )
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get returns the environment variable specified by the key k. If the variable is undefined it returns an error.
func GetOrDefault ¶
GetOrDefault returns the environment variable specified by the key k, or the default value d.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.