services

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerService

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

func NewBrokerService

func NewBrokerService(config *models.BrokerConfig) *BrokerService

func (*BrokerService) GetMessages

func (b *BrokerService) GetMessages(request *models.GetMessageRequest, reply *models.MessageList) error

GetMessages retrieves messages for subscriber

func (*BrokerService) Publish

func (b *BrokerService) Publish(msg *models.Message, reply *string) error

Publish stores message in a storage

func (*BrokerService) Start

func (b *BrokerService) Start()

Jump to

Keyboard shortcuts

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