Documentation
¶
Overview ¶
Package event provides the Event type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
Event is the canonical CloudEvent representation of an object.
func UnmarshalJSON ¶
UnmarshalJSON unmarshals a CloudEvent from its JSON-encoded form.
type Marshaler ¶
Marshaler is the interface implemented by types that can marshal themselves into CloudEvents.
type Unmarshaler ¶
Unmarshaler is the interface implemented by types that can unmarshal CloudEvent representations of themselves.
type UnsupportedTypeError ¶
An UnsupportedTypeError is returned by Marshal and Unmarshal when attempting to encode or decode an unsupported value type.
func (*UnsupportedTypeError) Error ¶
func (e *UnsupportedTypeError) Error() string
Click to show internal directories.
Click to hide internal directories.