Commit graph

5 commits

Author SHA1 Message Date
Jonathan Moody
5f068341e3 Use time.Ticker object to drive management activity. 2022-10-03 14:37:00 -04:00
Jonathan Moody
3ddcbbb55d Changes to make session.go testable. Conn created with Pipe()
used in testing has no unique Addr.
2022-09-29 12:10:06 -05:00
Jonathan Moody
813fd4590a Add --max-sessions, --session-timeout args. Enforce max sessions. 2022-09-28 14:49:32 -05:00
Jonathan Moody
e56edf0c9a Handle failures with goto instead of break. Update error logging. 2022-09-28 11:26:30 -05:00
Jonathan Moody
7f47de2949 Add core session/subscription logic (session.go).
Implement subsribe/unsubscribe handlers.
2022-09-27 18:50:36 -05:00