producers

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyncAPIProducer

type SyncAPIProducer struct {
	Topic     string
	JetStream nats.JetStreamContext
}

SyncAPIProducer produces events for the sync API server to consume

func (*SyncAPIProducer) SendData

func (p *SyncAPIProducer) SendData(userID string, roomID string, dataType string) error

SendData sends account data to the sync API server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL