/[pxelator]/couchdb/dnsd/views/ip,query,type,answer-count/map.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /couchdb/dnsd/views/ip,query,type,answer-count/map.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 364 - (show annotations)
Sun Aug 30 11:36:12 2009 UTC (14 years, 7 months ago) by dpavlin
File MIME type: application/javascript
File size: 179 byte(s)
use doc.package.name
1 function(doc) {
2 if ( doc.package.name == 'dnsd' )
3 if (doc.ans)
4 doc.ans.forEach( function(d) {
5 emit([doc.peerhost, d.name, d.type, d.address || d.cname],1);
6 });
7 }

  ViewVC Help
Powered by ViewVC 1.1.26