config

package
v0.0.0-...-ae8581d Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 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 AppConfig

type AppConfig struct {
	Port            int
	DBConnectionURI string
	SessionKey      string
}

AppConfig specifies high level configuration settings for the app

func ParseAppConfig

func ParseAppConfig() AppConfig

ParseAppConfig parses flags and/or env vars returning an AppConfig instance

Jump to

Keyboard shortcuts

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