mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-03 17:44:44 +02:00
add wg site get config and pick client defaults
This commit is contained in:
parent
fb49fb8ddd
commit
41983ce356
9 changed files with 305 additions and 5 deletions
|
@ -1,6 +1,8 @@
|
|||
import { handleRegisterMessage } from "./newt";
|
||||
import { handleGetConfigMessage } from "./newt/handleGetConfigMessage";
|
||||
import { MessageHandler } from "./ws";
|
||||
|
||||
export const messageHandlers: Record<string, MessageHandler> = {
|
||||
"newt/wg/register": handleRegisterMessage,
|
||||
};
|
||||
"newt/wg/get-config": handleGetConfigMessage,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue