code: func (db *DB) ReadConfig(config *Config) error {
  	db.mu.RLock()
  	defer db.mu.RUnlock()
  	if db.closed {
  		return ErrDatabaseClosed
  	}
  	*config = db.config
  	return nil
  }
docs: // ReadConfig returns the database configuration.