Documentation
¶
Overview ¶
Demonstrates Session.Subscribe — typed per-variant callbacks for session/update notifications. Use this instead of (or alongside) the Session.Updates() channel when you want a focused handler per update kind without a giant switch statement.
go run ./examples/typed_subscribers
Click to show internal directories.
Click to hide internal directories.