Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TTLMetadataKey defines the metadata key for setting a time to live (in seconds). TTLMetadataKey = "ttlInSeconds" // RawPayloadKey defines the metadata key for forcing raw payload in pubsub. RawPayloadKey = "rawPayload" // PriorityMetadataKey defines the metadata key for setting a priority. PriorityMetadataKey = "priority" // ContentType defines the metadata key for the content type. ContentType = "contentType" )
Variables ¶
This section is empty.
Functions ¶
func IsRawPayload ¶ added in v1.2.0
IsRawPayload determines if payload should be used as-is.
func TryGetContentType ¶ added in v1.5.0
func TryGetPriority ¶
TryGetPriority tries to get the priority for binding and any other building block.
Types ¶
Click to show internal directories.
Click to hide internal directories.