Documentation ¶
Index ¶
Constants ¶
View Source
const ( NilEnv = Environment("") LocalEnv = Environment("LOCAL") )
Variables ¶
This section is empty.
Functions ¶
func GetMigrationDir ¶
func GetMigrationDir() string
func GetProjectRoot ¶
func GetProjectRoot() string
GetProjectRoot loads env vars from .env at root of repo
func GetSupportedAssets ¶
GetSupportedAssets TODO: Move these to a table in PSQL
Types ¶
type DatabaseCredentials ¶
type Environment ¶
type Environment string
type InfluxDbCredentials ¶
type Secrets ¶
type Secrets struct { Environment ServerConfig DatabaseCredentials InfluxDbCredentials }
func GetSecrets ¶
type ServerConfig ¶
type ServerConfig struct {
Port int
}
Click to show internal directories.
Click to hide internal directories.