func (c *MemStore) CurrentController() (string, error) {
	c.mu.Lock()
	defer c.mu.Unlock()

	if c.CurrentControllerName == "" {
		return "", errors.NotFoundf("current controller")
	}
	return c.CurrentControllerName, nil
}
// CurrentController implements ControllerGetter.CurrentController
CurrentController implements ControllerGetter.CurrentController
// CurrentController implements ControllerGetter . CurrentController
func (c *MemStore) CurrentController() (string, error) {
	c.mu.Lock()
	defer c.mu.Unlock()
	if c.CurrentControllerName == "" {
		return "", errors.NotFoundf("current controller")
	}
	return c.CurrentControllerName, nil
}
func ( c * MemStore ) CurrentController ( ) ( string , error ) { c . mu . Lock ( ) defer c . mu . Unlock ( ) if c . CurrentControllerName == " " { return " " , errors . NotFoundf ( " " ) } return c . CurrentControllerName , nil }
CurrentController implements ControllerGetter.CurrentController
CurrentController implements ControllerGetter . CurrentController