Documentation ¶
Index ¶
- Constants
- type Config
- func (c *Config) Env(name string) map[string]string
- func (c *Config) EnvProperty(env, key string) (string, error)
- func (c *Config) Path() string
- func (c *Config) RemoveEnv(name string) error
- func (c *Config) RemoveEnvProperty(envName, key string) error
- func (c *Config) SetEnvProperty(env, key, value string) error
Constants ¶
View Source
const DefaultEnv = "default"
View Source
const (
KeyEnvironment string = "env"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Envs map[string]map[string]string `yaml:"env"` // contains filtered or unexported fields }
func (*Config) RemoveEnvProperty ¶
func (*Config) SetEnvProperty ¶
Click to show internal directories.
Click to hide internal directories.