Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LBSMessage ¶
LBSMessage is the format in which the message should be written to LBS
type NotificationType ¶
type NotificationType int
Types of notifications sent to client.
const ( StreamAdded NotificationType = iota StreamDisowned StreamExpired )
type RecoverableRedisNotification ¶
type RecoverableRedisNotification[T any] struct { Type NotificationType Payload T }
RecoverableRedisNotification captures the type of notifications sent to client. These are captured by NotificationType enum.
func Make ¶
func Make(value any, notifType NotificationType) RecoverableRedisNotification[any]
Click to show internal directories.
Click to hide internal directories.