env

package
v0.0.0-...-9dfd10e Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultServiceName  = "noname"
	DefaultInterface    = "0.0.0.0"
	DefaultPort         = "80"
	DefaultPostgresHost = "localhost"
	DefaultPostgresPort = "5432"
	DefaultPostgresUser = "postgres"
	DefaultPostgresPass = "postgres"
	DefaultPostgresSsl  = "disable"
	DefaultPostgresDb   = "test"
)

Defaults

Variables

This section is empty.

Functions

func Interface

func Interface() string

Interface $INTERFACE

func Port

func Port() string

Port $PORT

func PostgresDb

func PostgresDb() string

PostgresDb $POSTGRES_DB

func PostgresHost

func PostgresHost() string

PostgresHost $POSTGRES_HOST

func PostgresPass

func PostgresPass() string

PostgresPass $POSTGRES_PASS

func PostgresPort

func PostgresPort() string

PostgresPort $POSTGRES_PORT

func PostgresSsl

func PostgresSsl() string

PostgresSsl $POSTGRES_SSL

func PostgresUser

func PostgresUser() string

PostgresUser $POSTGRES_USER

func ServiceName

func ServiceName() string

ServiceName $SERVICE_NAME

Types

This section is empty.

Jump to

Keyboard shortcuts

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