env

package
v0.0.0-...-cfd4cc3 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsConfig

type AwsConfig struct {
	Region string `required:"true"`
}

type Config

type Config struct {
	Env       string
	DynConfig DynamoDBConfig `required:"true"`
	AwsConfig AwsConfig      `required:"true"`
}

func GetConfig

func GetConfig() (*Config, error)

func LoadConfig

func LoadConfig() (*Config, error)

type DynamoDBConfig

type DynamoDBConfig struct {
	Endpoint string `required:"true"`
}

Jump to

Keyboard shortcuts

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