Documentation ¶
Index ¶
Constants ¶
View Source
const ( UserID = "user_id" RoomID = "room_id" EventID = "event_id" )
Variables ¶
View Source
var ( InputRoomEvent = "InputRoomEvent" InputDeviceListUpdate = "InputDeviceListUpdate" OutputRoomEvent = "OutputRoomEvent" OutputSendToDeviceEvent = "OutputSendToDeviceEvent" OutputKeyChangeEvent = "OutputKeyChangeEvent" OutputTypingEvent = "OutputTypingEvent" OutputClientData = "OutputClientData" OutputNotificationData = "OutputNotificationData" OutputReceiptEvent = "OutputReceiptEvent" OutputStreamEvent = "OutputStreamEvent" OutputReadUpdate = "OutputReadUpdate" RequestPresence = "GetPresence" OutputPresenceEvent = "OutputPresenceEvent" )
Functions ¶
func DeleteAllStreams ¶
func DeleteAllStreams(js natsclient.JetStreamContext, cfg *config.JetStream)
func InputRoomEventSubj ¶
func JetStreamConsumer ¶
Types ¶
type NATSInstance ¶
type NATSInstance struct {
*natsserver.Server
}
func (*NATSInstance) Prepare ¶
func (s *NATSInstance) Prepare(process *process.ProcessContext, cfg *config.JetStream) (natsclient.JetStreamContext, *natsclient.Conn)
Click to show internal directories.
Click to hide internal directories.