package
0.0.0-20241025030232-2154053700bb
Repository: https://github.com/cipherblock-chat/chat.git
Documentation: pkg.go.dev
# Functions
NewNotifier creates a new notifier set to the given sync position.
NewUserDeviceStream creates a new user stream.
# Structs
Notifier will wake up sleeping requests when there is some new data.
UserDeviceStream represents a communication mechanism between the /sync request goroutine and the underlying sync server goroutines.
UserDeviceStreamListener allows a sync request to wait for updates for a user.