config

package
v0.0.0-...-de1b222 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadConfig

func ReadConfig()

Types

type Configurations

type Configurations struct {
	Debug    bool
	Server   ServerConfig
	Database DatabaseConfig
}
var App Configurations

type DatabaseConfig

type DatabaseConfig struct {
	Connection string
	Host       string
	Name       string
	Username   string
	Password   string
}

type ServerConfig

type ServerConfig struct {
	Port                            string
	WaitDurationForGracefulShutdown string
}

Jump to

Keyboard shortcuts

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