config

package
v0.0.0-...-3b0e19b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	DB_HOST     string
	DB_USERNAME string
	DB_PASSWORD string
	DB_PORT     int
	DB_NAME     string
}

Stores the main configuration for the application

func ReadConfig

func ReadConfig(fileName string) (Configuration, error)

ReadConfig will read the configuration json file to read the parameters which will be passed in the config file

Jump to

Keyboard shortcuts

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