Documentation ¶
Overview ¶
Package xmpptoamqp is a generated protocol buffer package.
It is generated from these files:
chat.proto
It has these top-level messages:
Chat
Index ¶
- type AmqpService
- func (as *AmqpService) Close()
- func (as *AmqpService) ConsumeSendCommands(exchange, queue, tag *string)
- func (as *AmqpService) ExchangeDeclare(exchange, kind *string)
- func (as *AmqpService) ForwardChatReceivedEvents(exchange *string)
- func (as *AmqpService) ReceiveXmpp()
- func (as *AmqpService) Send(exchange, key, user, text *string)
- func (as *AmqpService) SendXmpp()
- type Chat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmqpService ¶
type AmqpService struct { SendChatCommands chan Chat ReceivedChatEvents chan Chat // contains filtered or unexported fields }
func NewAmqpService ¶
func NewAmqpService(uri, server, user, password *string) (amqpService *AmqpService)
func (*AmqpService) Close ¶
func (as *AmqpService) Close()
func (*AmqpService) ConsumeSendCommands ¶
func (as *AmqpService) ConsumeSendCommands(exchange, queue, tag *string)
func (*AmqpService) ExchangeDeclare ¶
func (as *AmqpService) ExchangeDeclare(exchange, kind *string)
func (*AmqpService) ForwardChatReceivedEvents ¶
func (as *AmqpService) ForwardChatReceivedEvents(exchange *string)
func (*AmqpService) ReceiveXmpp ¶
func (as *AmqpService) ReceiveXmpp()
func (*AmqpService) Send ¶
func (as *AmqpService) Send(exchange, key, user, text *string)
func (*AmqpService) SendXmpp ¶
func (as *AmqpService) SendXmpp()
Click to show internal directories.
Click to hide internal directories.