configs

package
v0.0.0-...-1cbff02 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 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 Config

type Config struct {
	// contains filtered or unexported fields
}

Config contains the application variables

func BuildConfig

func BuildConfig() *Config

BuildConfig imports the necessary environment variables and makes them available in a config structure

func (*Config) DbConnectionStr

func (c *Config) DbConnectionStr() string

func (*Config) DbInmemory

func (c *Config) DbInmemory() bool

func (*Config) LogType

func (c *Config) LogType() string

func (*Config) ServerPort

func (c *Config) ServerPort() string

Jump to

Keyboard shortcuts

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