package
Version:
v0.0.0-...-d770c28
Opens a new window with list of versions in this module.
Published: Jun 7, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package config will load the ENV variables for constants we want to set dynamically.
type Constants struct {
Username string `yaml:"username" envconfig:"username" required:"true"`
Password string `yaml:"password" envconfig:"password" required:"true"`
OrgName string `yaml:"orgname" envconfig:"orgname" required:"true"`
Redis Redis
}
type Redis struct {
Address string `yaml:"address" envconfig:"redis_address" required:"true"`
Port string `yaml:"port" envconfig:"redis_port" required:"true"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.