conf

package
v0.0.0-...-3b802f3 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: MIT 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 {
	Address string `mapstructure:"address"`

	DatabaseUrl   string `mapstructure:"database_url"`
	MigrationsUrl string `mapstructure:"migrations_url"`

	LogFormat string `mapstructure:"log_format"`
	LogLevel  string `mapstructure:"log_level"`
}

func Instance

func Instance() *Config

Returns the Config singleton instance

func NewConfig

func NewConfig() *Config

Config constructor

Jump to

Keyboard shortcuts

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