Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudEvent ¶
type CloudEvent struct{}
CloudEvent codec is
func (*CloudEvent) Decode ¶
func (d *CloudEvent) Decode(data []byte) (interface{}, error)
Decode of defaultCodec simply returns the data
func (*CloudEvent) Encode ¶
func (d *CloudEvent) Encode(value interface{}) ([]byte, error)
Encode does a type conversion into []byte
Click to show internal directories.
Click to hide internal directories.