messageHeader

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: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MessageId     string = "message-id"
	CorrelationId string = "correlation-id"
	Name          string = "name"
	Type          string = "type"
	ContentType   string = "content-type"
	Created       string = "created"
)

Variables

This section is empty.

Functions

func GetCorrelationId

func GetCorrelationId(m metadata.Metadata) string

func GetMessageContentType

func GetMessageContentType(m metadata.Metadata) string

func GetMessageCreated

func GetMessageCreated(m metadata.Metadata) time.Time

func GetMessageId

func GetMessageId(m metadata.Metadata) string

func GetMessageName

func GetMessageName(m metadata.Metadata) string

func GetMessageType

func GetMessageType(m metadata.Metadata) string

func SetCorrelationId

func SetCorrelationId(m metadata.Metadata, val string)

func SetMessageContentType

func SetMessageContentType(m metadata.Metadata, val string)

func SetMessageCreated

func SetMessageCreated(m metadata.Metadata, val time.Time)

func SetMessageId

func SetMessageId(m metadata.Metadata, val string)

func SetMessageName

func SetMessageName(m metadata.Metadata, val string)

func SetMessageType

func SetMessageType(m metadata.Metadata, val string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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