application

package
v0.0.0-...-2d286a2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Environment

func Environment() string

Types

type Config

type Config struct {
	DB     Database `toml:"database"`
	Server Server
}

func LoadConfig

func LoadConfig() Config

type Database

type Database struct {
	Type             string
	ConnectionString string `toml:"connection_string"`
}

type Server

type Server struct {
	Port int
}

Jump to

Keyboard shortcuts

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