producers

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 4 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
	Producer sarama.SyncProducer
}

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