Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StompConsumer ¶
type StompConsumer struct { Id int Connection *stomp.Conn Subscription *stomp.Subscription Topic string Config config.Config // contains filtered or unexported fields }
func NewConsumer ¶
func (*StompConsumer) Connect ¶
func (c *StompConsumer) Connect()
func (*StompConsumer) Start ¶
func (c *StompConsumer) Start(consumerReady chan bool)
func (*StompConsumer) Stop ¶
func (c *StompConsumer) Stop(reason string)
func (*StompConsumer) Subscribe ¶
func (c *StompConsumer) Subscribe()
type StompPublisher ¶
type StompPublisher struct { Id int Connection *stomp.Conn Topic string Config config.Config // contains filtered or unexported fields }
func NewPublisher ¶
func (*StompPublisher) Connect ¶
func (p *StompPublisher) Connect()
func (*StompPublisher) Send ¶
func (p *StompPublisher) Send() error
func (*StompPublisher) Start ¶
func (p *StompPublisher) Start(publisherReady chan bool, startPublishing chan bool)
func (*StompPublisher) StartPublishing ¶ added in v0.24.0
func (p *StompPublisher) StartPublishing() string
func (*StompPublisher) Stop ¶
func (p *StompPublisher) Stop(reason string)
Click to show internal directories.
Click to hide internal directories.