queue

package
v0.0.0-...-958c19f Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChanSliceByte

type ChanSliceByte struct {
	Ch    chan []byte
	Close func()
}

type Queuer

type Queuer interface {
	NewMessageListener(rooms []entities.Room, conn *ws.WS) ChanSliceByte
	PushMessage(msg *entities.Message, skpipConn *ws.WS) error
	PushNotification(notification *entities.Notification, skpipConn *ws.WS) error
	Close()
}

func NewQueueRabbitMQ

func NewQueueRabbitMQ(ctx context.Context, conf config.RabbitMQ) (Queuer, error)

NewOperationDatastoreExternal get operation external api

func NewQueueStub

func NewQueueStub(ctx context.Context) (Queuer, error)

NewOperationDatastoreExternal get operation external api

Jump to

Keyboard shortcuts

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