environment

package
v0.0.0-...-ee0c78d Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvVariable

func EnvVariable(key string) string

Types

type ServerValues

type ServerValues struct {
	Host            string
	Port            int
	ShutdownTimeout time.Duration
	Context         string
	DbUser          string
	DbPass          string
	DbHost          string
	DbPort          string
	DbName          string
	DbTimeout       time.Duration
	DbTimeZone      string
	EngineSql       string
	TimeZone        string
	RedisHost       string
	RedisPort       string
	RedisPass       string
	RedisDb         int
}

func Server

func Server() ServerValues

Jump to

Keyboard shortcuts

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