Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for restClientFromHash (0.1 sec)

  1. cmd/notification.go

    			}
    			reply[idx] = info
    		}(client, i)
    	}
    	wg.Wait()
    
    	return reply
    }
    
    // restClientFromHash will return a deterministic peerRESTClient based on s.
    // Will return nil if client is local.
    func (sys *NotificationSys) restClientFromHash(s string) (client *peerRESTClient) {
    	if len(sys.peerClients) == 0 {
    		return nil
    	}
    	peerClients := sys.allPeerClients
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top