Versions in this module Expand all Collapse all v0 v0.3.0 Dec 15, 2019 Changes in this version type Event + func (e Event) Timings() (eventsources.EventTimings, error) v0.2.0 Dec 7, 2019 Changes in this version + func NewFromCLI(c *cli.Context, tracer opentracing.Tracer) (eventsources.EventSource, error) + func NewSource(tracer opentracing.Tracer) (eventsources.EventSource, error) + type Event struct + Action string + Error bool + Identifier string + Metadata map[string]interface{} + Namespace string + ParentID *string + Type string + func (e Event) IsError() (bool, error) + func (e Event) OperationName() string + func (e Event) ParentSpanID() (*string, error) + func (e Event) SpanID() (string, error) + func (e Event) State(prev *eventsources.EventState) (eventsources.SpanState, error) + func (e Event) Tags() (map[string]interface{}, error) + type Source struct + func (es *Source) Event(r *http.Request, payload []byte) (eventsources.Event, error) + func (es *Source) Name() string + func (es *Source) SecretKey() []byte + func (es *Source) Tracer() opentracing.Tracer + func (es *Source) ValidatePayload(r *http.Request, secretKey []byte) ([]byte, error)