iot_server/internal/pkg/config/database.go

13 lines
312 B
Go
Raw Normal View History

2023-08-28 06:49:44 +00:00
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
}