config

package
v0.0.0-...-f90f44b Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port       int
	DBUsername string
	DBPassword string
	DBHost     string
	DBPort     int
	Database   string
	SecretKey  string
}

Config contains the configuration for the service

func LoadConfig

func LoadConfig() Config

LoadConfig returns the config from the environment variables

Jump to

Keyboard shortcuts

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