config

package
v0.0.0-...-a53f43f Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 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 {
	Environment string `json:"env" env:"env"`
	Port        uint   `json:"port" env:"port"`
	DB          string `json:"db" env:"db"`
	DBName      string `json:"db_name" env:"db_name"`
}

Config : struct

func GetConfig

func GetConfig() *Config

GetConfig : getter

Jump to

Keyboard shortcuts

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