Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: GPL-3.0, GPL-3.0-or-later Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEVEnv = false

DEVEnv - current environment

View Source
var PRODEnv = false

PRODEnv - current environment

Functions

This section is empty.

Types

type Config

type Config struct {
	FrontendPublicURL string
	BackendPort       int64
	DbURL             string
}

Config contains basic server configuration

func SetupConfig

func SetupConfig() *Config

SetupConfig read and check config from various sources Close application, if any checkConfig err occurs

Jump to

Keyboard shortcuts

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