pubsub

package
v0.0.0-...-745b45e Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubSubManager

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

func NewPubSubManager

func NewPubSubManager(buffer_size int) *PubSubManager

func (*PubSubManager) Close

func (m *PubSubManager) Close()

func (*PubSubManager) CreateTopic

func (m *PubSubManager) CreateTopic(topic string)

func (*PubSubManager) DeleteTopic

func (m *PubSubManager) DeleteTopic(topic string)

func (*PubSubManager) Dequeue

func (m *PubSubManager) Dequeue(topic, subscriber string) (string, error)

func (*PubSubManager) Enqueue

func (m *PubSubManager) Enqueue(topic, msg string) error

func (*PubSubManager) Subscribe

func (m *PubSubManager) Subscribe(topic, subscriber string) error

Jump to

Keyboard shortcuts

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