func (rtr *Rotor) Opened() []XID {
	rtr.Lock()
	defer rtr.Unlock()
	open := make([]XID, len(rtr.open))
	for i, j := range rand.Perm(len(rtr.open)) {
		open[i] = rtr.open[j]
	}
	return open
}
// Opened returns a list of all open and healthy XIDs
Opened returns a list of all open and healthy XIDs
// Opened returns a list of all open and healthy XIDs
func (rtr *Rotor) Opened() []XID {
	rtr.Lock()
	defer rtr.Unlock()
	open := make([]XID, len(rtr.open))
	for i, j := range rand.Perm(len(rtr.open)) {
		open[i] = rtr.open[j]
	}
	return open
}
func ( rtr * Rotor ) Opened ( ) [ ] XID { rtr . Lock ( ) defer rtr . Unlock ( ) open := make ( [ ] XID , len ( rtr . open ) ) for i , j := range rand . Perm ( len ( rtr . open ) ) { open [ i ] = rtr . open [ j ] } return open }
Opened returns a list of all open and healthy XIDs
Opened returns a list of all open and healthy XIDs