mq

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MQServer

type MQServer struct {
	// contains filtered or unexported fields
}

func NewMQServer

func NewMQServer(routers []servers.Router, h interface{}) (*MQServer, error)

func (*MQServer) Consume

func (m *MQServer) Consume(queueName string, callback func(*ctxs.Context) error)

func (*MQServer) Restart

func (m *MQServer) Restart()

func (*MQServer) ShutDown

func (m *MQServer) ShutDown()

func (*MQServer) Start

func (m *MQServer) Start() error

Jump to

Keyboard shortcuts

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