13 lines
312 B
Go
13 lines
312 B
Go
|
package config
|
||
|
|
||
|
// DatabaseInfo interfaces provides an abstraction for obtaining the database configuration information.
|
||
|
type DatabaseInfo interface {
|
||
|
// GetDatabaseInfo returns a database information map.
|
||
|
GetDatabaseInfo() map[string]Database
|
||
|
}
|
||
|
|
||
|
type DatabaseConfig interface {
|
||
|
Configuration
|
||
|
DatabaseInfo
|
||
|
}
|