mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-18 07:40:53 +01:00
3183f75aed
* Add stub functions for MSC2946 * Implement core space walking algorithm * Flesh out stub functions; add test stubs * Implement storage bits and add sanity check test * Implement world_readable auth with test * Linting
19 lines
431 B
Go
19 lines
431 B
Go
package config
|
|
|
|
type MSCs struct {
|
|
Matrix *Global `yaml:"-"`
|
|
|
|
// The MSCs to enable
|
|
MSCs []string `yaml:"mscs"`
|
|
|
|
Database DatabaseOptions `yaml:"database"`
|
|
}
|
|
|
|
func (c *MSCs) Defaults() {
|
|
c.Database.Defaults()
|
|
c.Database.ConnectionString = "file:mscs.db"
|
|
}
|
|
|
|
func (c *MSCs) Verify(configErrs *ConfigErrors, isMonolith bool) {
|
|
checkNotEmpty(configErrs, "mscs.database.connection_string", string(c.Database.ConnectionString))
|
|
}
|