utils

package
v0.0.0-...-dee3b69 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 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