xmpptoamqp

package module
v0.0.0-...-78a8aac Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2015 License: MIT Imports: 9 Imported by: 0

README

xmpptoamqp

Daemon that connects to both XMPP and AMQP and marshalls data between

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

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()

type Chat

type Chat struct {
	User             *string `protobuf:"bytes,1,req" json:"User,omitempty"`
	Text             *string `protobuf:"bytes,2,req" json:"Text,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Chat) GetText

func (m *Chat) GetText() string

func (*Chat) GetUser

func (m *Chat) GetUser() string

func (*Chat) ProtoMessage

func (*Chat) ProtoMessage()

func (*Chat) Reset

func (m *Chat) Reset()

func (*Chat) String

func (m *Chat) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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