Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestToEventString ¶
RequestToEventString takes a http request that is based on a CloudEvent and tries to convert it to a string that contains all the CloudEvent related data. Here is an example of a possible output:
Context Attributes,
specversion: 1.0 type: prefix.testapp1023.order.created.v1 source: /default/sap.kyma/id subject: prefix.testapp1023.order.created.v1 id: 1.0 time: 2022-07-15T18:40:15.808918Z datacontenttype: application/json
Data,
"{\"foo\":\"bar\"}"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.