package
0.0.0-20241001120344-791233ab31d1
Repository: https://github.com/wearemojo/mojo-public-go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
EnvironmentName returns the name of the current execution environment from CONFIG.
FromEnvironment unmarshals JSON configuration from the CONFIG environment variable into dst.

# Constants

ConfigEnvironmentVariable is the expected environment variable storing JSON configuration data.
DefaultGraceful is the graceful shutdown timeout applied when no configuration value is given.

# Structs

MongoDB configures a connection to a Mongo database.
Redis configures a connection to a Redis database.
Server configures the binding and security of an HTTP server.

# Type aliases

Getter takes an environment variable name, and returns its value or "" if not set.