transporters

package
v0.0.0-...-84acdea Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRabbitMqTransporter

func NewRabbitMqTransporter(url string) (gateway.Transporter, error)

NewRabbitMqTransporter creates a rabbitmq transporter using a given url

Types

type RabbitMqTransporter

type RabbitMqTransporter struct {
	// contains filtered or unexported fields
}

func (RabbitMqTransporter) PushDispatchEvent

func (transporter RabbitMqTransporter) PushDispatchEvent(t string, data []byte) error

PushDispatchEvent dispatches a general event to all the bot workers.

func (RabbitMqTransporter) PushEventCache

func (transporter RabbitMqTransporter) PushEventCache(t string, data []byte) error

PushEventCache dispatches a cache specific events to all the cache workers.

Jump to

Keyboard shortcuts

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