| // Within environs/config: | |
| func ReadBytes(data []bytes) (*ConfigSet, error) | |
| func Read(filename string) (*ConfigSet, error) | |
| type ConfigSet struct { | |
| // ... | |
| } | |
| type Config struct { | |
| m map[string]interface{} | |
| } | |
| func (c *Config) Name() string {} | |
| func (c *Config) Type() string {} | |
| func (c *Config) DefaultSeries() string {} | |
| func (c *Config) Map() map[string]interface{} {} | |
| // Within environs: | |
| type Provider struct { | |
| Open(config *config.Config) (Environ, error) | |
| ValidateConfig(old, new *config.Config) error | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment