ipfs
Version:
JavaScript implementation of the IPFS specification
25 lines (22 loc) • 434 B
JavaScript
const resources = require('../resources')
module.exports = [
{
method: '*',
path: '/api/v0/stats/bitswap',
options: {
validate: resources.stats.bitswap.validate
},
handler: resources.stats.bitswap.handler
},
{
method: '*',
path: '/api/v0/stats/repo',
handler: resources.stats.repo
},
{
method: '*',
path: '/api/v0/stats/bw',
handler: resources.stats.bw
}
]