Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEvent ¶
func NewEvent(data interface{}, args ...string) cloudevents.Event
newEvent returns a JSON (by default) standard cloudevent. Optional arguments: args[0] = source (string) args[1] = type (string) args[2] = contenttype (string), default: application/json See https://github.com/cloudevents/sdk-go for more details.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.