config

package
v0.0.0-...-065b889 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 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 {
	DBConnectionString string `json:"DB_CONNECTION_STRING" envconfig:"DB_CONNECTION_STRING"`
	DBEngine           string `json:"DB_ENGINE" envconfig:"DB_ENGINE"`
	WebAddress         string `json:"API_ADDRESS" envconfig:"API_ADDRESS"`
	WebPort            int    `json:"API_PORT" envconfig:"API_PORT"`
}

Config : application configuration

func GetConfigs

func GetConfigs() (c Config, err error)

GetConfigs : Get application configuration

Jump to

Keyboard shortcuts

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