func EMembers(c stypes.Client, cmd *types.Action) (interface{}, error) {
	key := cmd.StorageKey
	ekgLock.RLock()
	defer ekgLock.RUnlock()

	clientIdsM, ok := ekgKeyToClientIdsNames[key]
	if !ok {
		return []string{}, nil
	}

	names := make([]string, 0, len(clientIdsM))
	for _, name := range clientIdsM {
		names = append(names, name)
	}
	return names, nil
}
// EMembers returns the list of ids being monitored by an ekg
EMembers returns the list of ids being monitored by an ekg
// EMembers returns the list of ids being monitored by an ekg
func EMembers(c stypes.Client, cmd *types.Action) (interface{}, error) {
	key := cmd.StorageKey
	ekgLock.RLock()
	defer ekgLock.RUnlock()
	clientIdsM, ok := ekgKeyToClientIdsNames[key]
	if !ok {
		return []string{}, nil
	}
	names := make([]string, 0, len(clientIdsM))
	for _, name := range clientIdsM {
		names = append(names, name)
	}
	return names, nil
}
func EMembers ( c stypes . Client , cmd * types . Action ) ( interface { } , error ) { key := cmd . StorageKey ekgLock . RLock ( ) defer ekgLock . RUnlock ( ) clientIdsM , ok := ekgKeyToClientIdsNames [ key ] if ! ok { return [ ] string { } , nil } names := make ( [ ] string , 0 , len ( clientIdsM ) ) for _ , name := range clientIdsM { names = append ( names , name ) } return names , nil }
EMembers returns the list of ids being monitored by an ekg
EMembers returns the list of ids being monitored by an ekg