Documentation ¶
Index ¶
Constants ¶
View Source
const ( UserID = "user_id" RoomID = "room_id" EventID = "event_id" )
Variables ¶
View Source
var ( InputRoomEvent = "InputRoomEvent" 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 ¶ added in v0.8.3
func InputRoomEventSubj ¶ added in v0.7.0
func JetStreamConsumer ¶ added in v0.6.1
Types ¶
type NATSInstance ¶ added in v0.8.3
type NATSInstance struct { *natsserver.Server sync.Mutex }
func (*NATSInstance) Prepare ¶ added in v0.8.3
func (s *NATSInstance) Prepare(process *process.ProcessContext, cfg *config.JetStream) (natsclient.JetStreamContext, *natsclient.Conn)
Click to show internal directories.
Click to hide internal directories.