config

package
v0.0.0-...-4d4b9d2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2017 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config struct {
	Port             string `json:"port"`
	ServerName       string `json:"server_name"`
	DatabaseHost     string `json:"db_host"`
	DatabaseUserName string `json:"db_user_name"`
	DatabasePassword string `json:"db_password"`
	DatabaseName     string `json:"db_name"`
}

Config the appllication

Functions

func LoadConfig

func LoadConfig(path string) (err error)

LoadConfig loads config given a file from json

Types

This section is empty.

Jump to

Keyboard shortcuts

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