Versions in this module Expand all Collapse all v1 v1.18.1 Apr 6, 2022 Changes in this version + const CloudEventsVersion + const TransformationVersion + var Handler = "cloudevents" + func NewHandler(opts ...handler.Option) handler.Handler + type Event struct + CloudEventsVersion string + ContentType string + Data interface{} + EventID string + EventTime *time.Time + EventType string + EventTypeVersion string + Extensions map[string]interface{} + SchemaURL string + Source string + func FromRequest(r *http.Request) (*Event, error) + func New(eventType string, mimeType string, payload interface{}) *Event + func (e *Event) Validate() error + type HTTPRequestData struct + Body interface{} + Headers map[string]string + Host string + Method string + Params map[string]string + Path string + Query map[string][]string