code: func (ss *subStore) getAllSubs() []*subState {
  	ss.RLock()
  	subs := make([]*subState, 0, len(ss.psubs))
  	subs = append(subs, ss.psubs...)
  	for _, qs := range ss.qsubs {
  		qs.RLock()
  		subs = append(subs, qs.subs...)
  		qs.RUnlock()
  	}
  	ss.RUnlock()
  	return subs
  }
docs: // returns an array of all subscriptions (plain, online durables and queue members).