mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-09 09:55:18 -04:00
Add JSDoc to server/socket-handlers/*
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
parent
3d04befc1f
commit
068b920553
4 changed files with 31 additions and 0 deletions
|
@ -4,6 +4,10 @@ const { sendProxyList } = require("../client");
|
|||
const { UptimeKumaServer } = require("../uptime-kuma-server");
|
||||
const server = UptimeKumaServer.getInstance();
|
||||
|
||||
/**
|
||||
* Handlers for proxy
|
||||
* @param {Socket} socket Socket.io instance
|
||||
*/
|
||||
module.exports.proxySocketHandler = (socket) => {
|
||||
socket.on("addProxy", async (proxy, proxyID, callback) => {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue