Versions in this module Expand all Collapse all v0 v0.5.0 Jan 4, 2019 v0.4.0 Sep 25, 2018 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