rabbit

package
v1.0.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitInstance

type RabbitInstance struct {
	Conn *amqp.Connection
	Chan *amqp.Channel
}

func SetupInstance

func SetupInstance() (*RabbitInstance, func(), error)

SetupInstance 初始化 rabbit 连接,并创建一个通道

Jump to

Keyboard shortcuts

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