Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec struct {
// contains filtered or unexported fields
}
Codec uses protobuf to exchange messages with underlying workers.
func NewCodec ¶
func NewCodec(log *zap.Logger, dc converter.DataConverter) *Codec
NewCodec creates new Proto communication Codec.
func (*Codec) DecodeWorkerInfo ¶
DecodeWorkerInfo ... info []*internal.Message is read-only wi *[]*internal.WorkerInfo should be pre-allocated
Click to show internal directories.
Click to hide internal directories.