Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bigpipe/bigpipe-godot
A simple plugin that attaches a godot instance to bigpipe assuming you have the proper configuration
https://github.com/bigpipe/bigpipe-godot
Last synced: 1 day ago
JSON representation
A simple plugin that attaches a godot instance to bigpipe assuming you have the proper configuration
- Host: GitHub
- URL: https://github.com/bigpipe/bigpipe-godot
- Owner: bigpipe
- License: mit
- Created: 2014-05-12T20:53:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-16T20:42:57.000Z (almost 8 years ago)
- Last Synced: 2023-04-10T09:21:20.972Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bigpipe-godot
Easily hook a [`godot`](https://browsenpm.org/package/godot) client onto your
bigpipe instance for a simple interface to produce metrics!```js
var path = require('path');
var Pipe = require('bigpipe');
var godot = require('bigpipe-godot');
va Memory = requir('memory-producer');//
// Make a BigPipe instance!
//
var pipe = new Pipe(require('http').createServer(), {
pages: path.join(__dirname, 'pages'),
dist: path.join(__dirname, 'dist'),
godot: {
type: 'tcp',
host: 'my-metrics-endpoint.com',
port: 8556
}
}).listen(3000).use(godot);//
// After we use the godot plugin, we can now interact with the instance!
// We can add producers like `memory-producer` to magically produce
// memory metrics for us!
//
pipe.godot.add(new Memory({ service: 'bigpipe-godot' }));```