Documentation
¶
Overview ¶
Example: live feed using go-datastar patches as values with go-sse Broadcaster.
Run: go run ./example/ Open: http://localhost:8765
Slow-client behavior: when a subscriber's buffer is full the broadcaster drops events for that subscriber only — observe it with sse.WithOnDrop, as done below (see TestWithOnDropFiresWhenSubscriberBufferFull for the pattern in test form).
Click to show internal directories.
Click to hide internal directories.