Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractJetStreamMetadata ¶
ExtractJetStreamMetadata is a middleware that extracts JetStream message metadata and stores in the context with the key JetStreamMetadataCtxKey.
func ExtractJetStreamMsgSequence ¶
ExtractJetStreamMsgSequence extracts the timestamp from the JetStream Message metadata and stores it in the context.
Types ¶
type JetStreamMetadataCtxKey ¶
type JetStreamMetadataCtxKey struct{}
JetStreamMetadataCtxKey is the key to the JetStream Message metadata.
Click to show internal directories.
Click to hide internal directories.