Documentation
¶
Index ¶
Constants ¶
View Source
const Prefix = "aapi-"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Key ¶
type Key string
Key is the type of the keys used in the context
const ( // KeyIsProvider is the name of the provider this data is coming from. // When coming from a generated client, it is `asyncapi` KeyIsProvider Key = Prefix + "provider" // KeyIsChannel is the name of the channel this data is coming from. KeyIsChannel Key = Prefix + "channel" // KeyIsMessageDirection is the direction this data is coming from. // It can be either "publication" or "reception" KeyIsMessageDirection Key = Prefix + "operation" // KeyIsMessage is the message that has been sent or received KeyIsMessage Key = Prefix + "message" // KeyIsCorrelationID is the correlation ID of the message KeyIsCorrelationID Key = Prefix + "correlationID" )
Click to show internal directories.
Click to hide internal directories.