Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMQPSender ¶
type AMQPSender struct {
// contains filtered or unexported fields
}
AMQPSender msgcount -1 is infinite
func (*AMQPSender) Close ¶
func (as *AMQPSender) Close()
Close connections it is exported so users can force close
type AMQPServer ¶
type AMQPServer struct {
// contains filtered or unexported fields
}
AMQPServer msgcount -1 is infinite
func MockAMQPSender ¶
func MockAMQPSender(notifier chan string) *AMQPServer
MockAMQPSender Create Mock AMQP server
func MockAmqpServer ¶
func MockAmqpServer(notifier chan string) *AMQPServer
MockAmqpServer Create Mock AMQP server
func NewAMQPServer ¶
func NewAMQPServer(urlStr string, debug bool, msgcount int) *AMQPServer
NewAMQPServer ...
func (*AMQPServer) Close ¶
func (s *AMQPServer) Close()
Close connections it is exported so users can force close
func (*AMQPServer) GetNotifier ¶
func (s *AMQPServer) GetNotifier() chan string
GetNotifier Get notifier
Click to show internal directories.
Click to hide internal directories.