configs

package
v0.0.0-...-5e6e4b0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Database Database
}

Config contains configuration information for the whole app.

func MustInit

func MustInit() (config Config)

MustInit attempts to initialise Config and panics in case of failure.

type Database

type Database struct {
	Host       string
	Port       string
	User       string
	Password   string
	Name       string
	Migrations string
}

Jump to

Keyboard shortcuts

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