code: func (n *Node) doRaftPeers(conn redcon.Conn, cmd redcon.Command) (interface{}, error) {
  	if len(cmd.Args) != 1 {
  		return nil, ErrWrongNumberOfArguments
  	}
  	var peers []string
  	peersState := make(map[string]string)
  	func() {
  		n.mu.RLock()
  		defer n.mu.RUnlock()
  		for peer, state := range n.peers {
  			peersState[peer] = state
  			peers = append(peers, peer)
  		}
  	}()
  	sort.Strings(peers)
  
  	conn.WriteArray(len(peers) * 2)
  	for _, peer := range peers {
  		conn.WriteBulkString(peer)
  		conn.WriteBulkString(peersState[peer])
  	}
  	return nil, nil
  }
docs: // doRaftStatus handles a "RAFTSTATUS" client command.