config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 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 Env

type Env struct {
	// DBConnectionString the connections string
	DBConnectionString string
	// ServerHost the host that the server will start on
	ServerHost string
	// ServerPort the port that server will start on
	ServerPort string
	// RedisAddress the server and port where redis will run
	RedisAddress string
}

func NewEnv

func NewEnv() *Env

NewEnv creates a new instance of Env tries to load the env variables from .env

Jump to

Keyboard shortcuts

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