Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = config{}

Functions

func Environment

func Environment() string

func GetTemplateDirectory

func GetTemplateDirectory() (string, error)

func LoadConfig

func LoadConfig(path string) error

func LoadDatabaseConfig

func LoadDatabaseConfig(configPath string) error

func SetEnvironment

func SetEnvironment(env string)

Types

type DatabaseConfig

type DatabaseConfig struct {
	Name     string
	User     string
	Password string
	Host     string
	Port     uint
}

Source Files