utils

package
v0.0.0-...-4a59535 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllMessageTypes

func GetAllMessageTypes() []reflect.Type

func GetMessageBaseReflectType

func GetMessageBaseReflectType(message interface{}) reflect.Type

func GetMessageBaseReflectTypeFromType

func GetMessageBaseReflectTypeFromType(message reflect.Type) reflect.Type

func GetMessageName

func GetMessageName(message interface{}) string

func GetMessageNameFromType

func GetMessageNameFromType(message reflect.Type) string

func GetQueueName

func GetQueueName(message interface{}) string

func GetQueueNameFromType

func GetQueueNameFromType(message reflect.Type) string

func GetRoutingKey

func GetRoutingKey(message interface{}) string

func GetRoutingKeyFromType

func GetRoutingKeyFromType(message reflect.Type) string

func GetTopicOrExchangeName

func GetTopicOrExchangeName(message interface{}) string

func GetTopicOrExchangeNameFromType

func GetTopicOrExchangeNameFromType(message reflect.Type) string

func RegisterCustomMessageTypesToRegistrty

func RegisterCustomMessageTypesToRegistrty(typesMap map[string]types.IMessage)

Types

This section is empty.

Jump to

Keyboard shortcuts

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