Versions in this module Expand all Collapse all v0 v0.15.6 Jun 13, 2022 Changes in this version + type CommandCodec struct + func (_ CommandCodec) MarshalCommand(ctx context.Context, cmd eh.Command) ([]byte, error) + func (_ CommandCodec) UnmarshalCommand(ctx context.Context, b []byte) (eh.Command, context.Context, error) + type EventCodec struct + func (c *EventCodec) MarshalEvent(ctx context.Context, event eh.Event) ([]byte, error) + func (c *EventCodec) UnmarshalEvent(ctx context.Context, b []byte) (eh.Event, context.Context, error)