configs

package
v0.0.0-...-6e4093b Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationConfig

type ApplicationConfig struct {
	Secret  string
	Port    string
	Basedir string
}

func LoadAppconfig

func LoadAppconfig(configFile string) (appConfig ApplicationConfig, err error)

type DBconfig

type DBconfig struct {
	Host             string
	Port             string
	User             string
	Pass             string
	Name             string
	MigrationVersion uint
}

func LoadDBconfig

func LoadDBconfig(configFile string) (dbConfig DBconfig, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳