connection

package
v0.0.0-...-63f0587 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionKey

type ConnectionKey string

func (ConnectionKey) SingletonConnection

func (connkey ConnectionKey) SingletonConnection() (conn *amqp.Connection, err error)

type RabbitmqOptionBase

type RabbitmqOptionBase struct {
	Host,
	Port,
	VHost,
	UserName,
	PassWord string
	ConnectionKey ConnectionKey
	// contains filtered or unexported fields
}

func (*RabbitmqOptionBase) RegisterConnection

func (opt *RabbitmqOptionBase) RegisterConnection()

Jump to

Keyboard shortcuts

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