Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudEvent ¶
type CloudEvent struct { // FunctionResponseMode describes what data is returned from the function: // only data payload or full event in binary format FunctionResponseMode string `envconfig:"function_response_mode" default:"data"` Overrides Overrides `envconfig:"overrides"` }
CloudEvent is a data structure required to map KLR responses to cloudevents
func New ¶
func New() (*CloudEvent, error)
func (*CloudEvent) ContentType ¶
func (ce *CloudEvent) ContentType() string
Click to show internal directories.
Click to hide internal directories.