SYMBOL INDEX (45 symbols across 6 files) FILE: bin.js function lookup (line 49) | function lookup () { function announce (line 53) | function announce () { function onpeer (line 57) | function onpeer (name, peer) { function onlisten (line 64) | function onlisten (err) { function ondiaglisten (line 69) | function ondiaglisten (err) { FILE: diagnostics-server.js constant HISTORY_LIMIT (line 9) | const HISTORY_LIMIT = 60 constant HISTORY_INTERVAL (line 10) | const HISTORY_INTERVAL = 10e3 constant LOG_FILE_PATH (line 11) | const LOG_FILE_PATH = './diagnostics-server.log' constant LOG_SIZE_LIMIT (line 12) | const LOG_SIZE_LIMIT = 1024 /* 1kb */ * 1024 /* 1mb */ * 32 function track (line 22) | function track (evt) { function renderLogEntry (line 97) | function renderLogEntry (evt, ts, args) { function renderDNSMsg (line 134) | function renderDNSMsg ({id, questions, answers, additionals}) { function safen (line 147) | function safen (str) { FILE: diagnostics-server/index.js function setView (line 20) | function setView (view) { function fetchAndRenderPeers (line 34) | async function fetchAndRenderPeers () { function renderHistoryItem (line 67) | function renderHistoryItem (value, i) { function fetchAndRenderLog (line 71) | async function fetchAndRenderLog () { function safen (line 79) | function safen (str) { FILE: index.js constant TYPE_LOOKUP (line 13) | const TYPE_LOOKUP = 1 constant TYPE_ANNOUNCE (line 14) | const TYPE_ANNOUNCE = 2 constant TYPE_UNANNOUNCE (line 15) | const TYPE_UNANNOUNCE = 3 function DNSDiscovery (line 19) | function DNSDiscovery (opts) { function onerror (line 113) | function onerror (err) { function onquery (line 118) | function onquery (message, port, host) { function done (line 466) | function done (_, res, q, _port, _host) { function done (line 521) | function done (_, data, port, host) { function done (line 567) | function done (_, res, query, port, host) { function onmulticastclose (line 616) | function onmulticastclose () { function onsocketclose (line 622) | function onsocketclose () { function onbind (line 646) | function onbind () { function noop (line 651) | function noop () {} function parseAddr (line 653) | function parseAddr (addr) { function hash (line 665) | function hash (secret, host) { function parseId (line 669) | function parseId (name, domain) { function parseDomain (line 674) | function parseDomain (name) { function toBuffer (line 681) | function toBuffer (peers) { function encodePeer (line 690) | function encodePeer (peer) { function decodePeer (line 701) | function decodePeer (buf, offset) { function decodeTxt (line 709) | function decodeTxt (bufs) { function encodeTxt (line 722) | function encodeTxt (data) { function isMulticaster (line 733) | function isMulticaster (m) { FILE: store.js function Store (line 6) | function Store (opts) { function Peer (line 130) | function Peer (port, host) { function Record (line 140) | function Record (name, limit) { FILE: test.js function freePort (line 270) | function freePort (cb) {