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 RMQProducer

type RMQProducer struct {
	Queue            string
	ConnectionString string
}

func (RMQProducer) OnError

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

func (RMQProducer) PublishMessage

func (x RMQProducer) PublishMessage(contentType string, body []byte)

Jump to

Keyboard shortcuts

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