config

package
v0.0.0-...-7527e3a Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2018 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.3"

Functions

func LoadConfig

func LoadConfig(filepath string)

Types

type Config

type Config struct {
	DBName         string `json:"db_name"`
	DBPath         string `json:"db_path"`
	MigrationsPath string `json:"migrations_prefix"`
	HostAddress    string `json:"host_address"`
	HostPort       string `json:"host_port"`
	HasProxy       bool   `json:"has_proxy"`
}

Config represents the configuration information.

var Conf Config

Conf contains the initialized configuration struct

Jump to

Keyboard shortcuts

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