14 lines
354 B
Go
14 lines
354 B
Go
package gemlog
|
|
|
|
// CouchDBConfig represents the CouchDB configuration section
|
|
type CouchDBConfig struct {
|
|
Host string `yaml:"host"`
|
|
Port int `yaml:"port"`
|
|
User string `yaml:"user"`
|
|
Password string `yaml:"password"`
|
|
}
|
|
|
|
// Config represents the main configuration structure
|
|
type Config struct {
|
|
CouchDB CouchDBConfig `yaml:"couchdb"`
|
|
}
|