codec

package
v0.0.0-...-c22b595 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL