mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-03-27 21:01:05 +00:00
* docs: update chat example and add info to its readme * docs: update echo example * docs: update libp2p in browser example * docs: update pubsub example * docs: update peer and content routing examples * docs: update discovery mechanisms example * docs: update encrypted comms example * docs: update protocol and stream muxing example * feat: add config validation * test: update CI configs, use only node 8
11 lines
151 B
JavaScript
11 lines
151 B
JavaScript
/* eslint-env mocha */
|
|
'use strict'
|
|
|
|
const pull = require('pull-stream')
|
|
|
|
function echo (protocol, conn) {
|
|
pull(conn, conn)
|
|
}
|
|
|
|
module.exports = echo
|