xmq

package
v0.0.0-...-9493ce7 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 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 RabbitMQClient

type RabbitMQClient struct {
	Conn *amqp.Connection // 连接
	// contains filtered or unexported fields
}

RabbitMQClient 支持重连的RabbitMQ客户端封装

func GetInstance

func GetInstance() *RabbitMQClient

获取GetInstance单实例

func (*RabbitMQClient) Initialize

func (object *RabbitMQClient) Initialize(url string) (err error)

InitializeWithTimeout 初始化

Jump to

Keyboard shortcuts

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