config

package
v0.0.0-...-81673a4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 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 {
	PostgreSQL struct {
		Host     string
		Port     int
		User     string
		Password string
		Database string
	}
	Http struct {
		Host string `envconfig:"default=0.0.0.0"`
		Port int    `envconfig:"default=80"`
	}
}

func FromEnv

func FromEnv() Config

Jump to

Keyboard shortcuts

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