config

package
v0.0.0-...-cd1d72b Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Load ...

Types

type Database

type Database struct {
	Driver string `toml:"driver"`
	Source string `toml:"source"`
}

Database ...

func GetDB

func GetDB() Database

GetDB return database configuration

type Time

type Time struct {
	Zone string `toml:"zone"`
}

Time ...

func GetTime

func GetTime() Time

GetTime return time configuration

Jump to

Keyboard shortcuts

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