config

package
v0.0.0-...-0446b3e Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2017 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 {
	RedisHost     string `default:"127.0.0.1"`
	RedisPort     int    `default:"6379"`
	RedisPassword string `default:""`
	Port          int    `default:"8080"`
	AdminPort     int    `default:"9090"`
}

func ConfigFromEnv

func ConfigFromEnv() Config

Jump to

Keyboard shortcuts

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