config

package
v0.0.0-...-3423bc7 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TomlConfig

type TomlConfig struct {
	DB      database `toml:"database"`
	Server  serverInfo
	Logging loggingInfo
}

TomlConfig - struct to wrap around log level and server configuration values read from config.toml

func AppTomlConfig

func AppTomlConfig() (*TomlConfig, error)

AppTomlConfig - creates toml from environment variables

Jump to

Keyboard shortcuts

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