Versions in this module Expand all Collapse all v1 v1.0.1 May 10, 2021 v1.0.0 May 9, 2021 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 Incompatible versions in this module v2.3.0+incompatible May 9, 2021