Versions in this module Expand all Collapse all v1 v1.0.1 Jul 17, 2023 Changes in this version + type Decoder interface + DecodeCommand func([]byte) (*controlpb.Command, error) + type Encoder interface + EncodeCommand func(*controlpb.Command) ([]byte, error) + type ProtobufDecoder struct + func NewProtobufDecoder() *ProtobufDecoder + func (e *ProtobufDecoder) DecodeCommand(data []byte) (*controlpb.Command, error) + type ProtobufEncoder struct + func NewProtobufEncoder() *ProtobufEncoder + func (e *ProtobufEncoder) EncodeCommand(cmd *controlpb.Command) ([]byte, error)