Refactor server WebSocket comms #56

Open
opened 2026-02-17 20:51:20 +00:00 by luca0N · 0 comments
Owner

As it currently stands, the server code is dealing with message exchanges within a single function, which makes it larger than it needs to be, as well as making the code harder to read and maintain.

It would be nice to have functions for dealing with server and client message exchanging. This would save many lines of code down the road as the project grows.

As it currently stands, the server code is dealing with message exchanges within [a single function](https://git.luca0n.com/luca0N/lanbassador/src/commit/52e559efe479f007a90f3d5244ae13c5c1ad0404/server/main.go#L71), which makes it larger than it needs to be, as well as making the code harder to read and maintain. It would be nice to have functions for dealing with server and client message exchanging. This would save many lines of code down the road as the project grows.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
luca0N/lanbassador#56
No description provided.