Skip to content

Commit 91af82b

Browse files
committed
[[ api ]] ping command added.
This can be used to check if the server is up and working.
1 parent 62b4a4d commit 91af82b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/api/ping.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const lori = require("lori")
2+
3+
function ping(_useless, callback) {
4+
callback(null, "pong")
5+
}
6+
7+
module.exports = ping

0 commit comments

Comments
 (0)