initializers

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseAmqpConnection

func CloseAmqpConnection()

func GetRabbitMqConnect

func GetRabbitMqConnect() sneaker.RabbitMqConnect

func InitializeAmqpConfig

func InitializeAmqpConfig()

func InitializeAmqpConnection

func InitializeAmqpConnection()

Types

type Amqp

type Amqp struct {
	Connect struct {
		Host     string `yaml:"host"`
		Port     string `yaml:"port"`
		Username string `yaml:"username"`
		Password string `yaml:"password"`
		Vhost    string `yaml:"vhost"`
	} `yaml:"connect"`

	Exchange map[string]map[string]string `yaml:"exchange"`
}
var (
	AmqpGlobalConfig Amqp
	RabbitMqConnect  sneaker.RabbitMqConnect
)

Jump to

Keyboard shortcuts

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