config

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

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

Go to latest
Published: Jan 5, 2021 License: AGPL-3.0 Imports: 1 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 {
	Opts *Options
}

Config holds the app configuration (database, ports, etc)

func NewConfig

func NewConfig() *Config

NewConfig initialises a new configuration file

type Options

type Options struct {
	Debug          bool
	BaseURL        string
	RunMigrations  bool
	DatabaseDSN    string
	DatabaseDriver string
}

Options holds apps configuration

Jump to

Keyboard shortcuts

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