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()
Click to show internal directories.
Click to hide internal directories.