Documentation
¶
Overview ¶
Package runtime loads example and CLI configuration from environment variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
StorageDriver string
DatabaseURL string
PGAutoSchema bool
MigrationsStore string
MigrationsFile string
}
CLI contains storage and migration command settings.
type Config ¶
Config groups application, platform and CLI settings.
func Load ¶
func Load() Config
Load reads .env when present and then resolves configuration from the environment.
func (Config) ValidatePlatforms ¶
ValidatePlatforms checks that at least one usable platform is configured.