config

package
v0.0.0-...-aefc77e Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: AGPL-3.0 Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	DB             *DBConfig
	PublicKeyPath  string
	PrivateKeyPath string
}

AppConfig that contains various settings of application

func GetConfig

func GetConfig() *AppConfig

GetConfig function gets configuration settings for application

type DBConfig

type DBConfig struct {
	Dialect  string
	Host     string
	Port     uint32
	Username string
	Password string
	Name     string
	Charset  string
}

DBConfig contains properties for DBConnection

Jump to

Keyboard shortcuts

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