Notificações em tempo real (SSE)

Assine canais PostgreSQL NOTIFY via Server-Sent Events:

curl -N "http://localhost:8080/sse/my_database?channels=orders,users" \
  -H "Authorization: Bearer $TOKEN"

Cada mensagem é JSON com o canal e o payload:

{"channel":"orders","data":{"id":123,"status":"created"}}

Se o payload for texto, ele é encapsulado como string em data.