config

package
v0.0.0-...-398d8f0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Config map for database
	DB_HOST = "database"
	DB_PORT = "5432"
	DB_NAME = "mygram"
	DB_USER = "postgres"
	DB_PASS = "pass"

	// Config map for server
	SRV_PORT = "3030"

	// Config for JWT
	JWT_SECRET_KEY = "bq8G]0P(_O2,zm{0A#$@ZPFMV^v<8wbR"
)

Functions

func LoadConfig

func LoadConfig()

LoadConfig loads config directly from .env file

Types

This section is empty.

Jump to

Keyboard shortcuts

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