New search function et drag and drop clean

This commit is contained in:
2025-11-10 19:40:14 +01:00
parent d969b05ead
commit cd9a96c760
42 changed files with 2164 additions and 34 deletions

View File

@ -0,0 +1,34 @@
---
title: "WebSockets for Live Updates"
date: "10-11-2025"
last_modified: "10-11-2025:19:21"
tags: ["research", "tech", "websocket"]
---
# WebSockets
## Use Cases
- Live file tree updates
- Real-time collaboration
- Presence indicators
## Libraries
- `gorilla/websocket`
- `nhooyr.io/websocket`
## Architecture
```
Client <-> WebSocket <-> Hub <-> Indexer
```
## Broadcasting
```go
type Hub struct {
clients map[*Client]bool
broadcast chan []byte
}
```