typed_subscribers

command
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL