utils

package
v0.0.0-...-cd008c3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvVar

func GetEnvVar(name string) string

This function can be used to get ENV Var in our App Modify this if you change the library to read ENV

Types

type RMQConsumer

type RMQConsumer struct {
	Queue            string
	ConnectionString string
	MsgHandler       func(queue string, msg amqp.Delivery, err error)
}

func (RMQConsumer) Consume

func (x RMQConsumer) Consume()

func (RMQConsumer) OnError

func (x RMQConsumer) OnError(err error, msg string)

Jump to

Keyboard shortcuts

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