config

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 2 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 {
	Env                   string
	Port                  string
	UserTable             string
	AWS_ACCESS_KEY        string
	AWS_SECRET_KEY        string
	AWS_DEFAULT_REGION    string
	RDSInstanceIdentifier string
	LoggerURL             string
	ContentServiceURL     string
	SECRET_KEY            string
	DatabaseName          string
	DatabaseUser          string
	DatabaseHost          string
	DatabasePort          int
	DatabasePassword      string
	Debugging             bool
	Testing               bool
}

func NewConfig

func NewConfig(Env string) (*Config, error)

Jump to

Keyboard shortcuts

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