func (c *MemStore) AllControllers() (map[string]ControllerDetails, error) {
	c.mu.Lock()
	defer c.mu.Unlock()

	result := make(map[string]ControllerDetails)
	for name, details := range c.Controllers {
		result[name] = details
	}
	return result, nil
}
// AllControllers implements ControllerGetter.AllController
AllControllers implements ControllerGetter.AllController
// AllControllers implements ControllerGetter . AllController
func (c *MemStore) AllControllers() (map[string]ControllerDetails, error) {
	c.mu.Lock()
	defer c.mu.Unlock()
	result := make(map[string]ControllerDetails)
	for name, details := range c.Controllers {
		result[name] = details
	}
	return result, nil
}
func ( c * MemStore ) AllControllers ( ) ( map [ string ] ControllerDetails , error ) { c . mu . Lock ( ) defer c . mu . Unlock ( ) result := make ( map [ string ] ControllerDetails ) for name , details := range c . Controllers { result [ name ] = details } return result , nil }
AllControllers implements ControllerGetter.AllController
AllControllers implements ControllerGetter . AllController