Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶ added in v1.4.0
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 ¶ added in v1.4.0
DecodeWorkerInfo ... info []*internal.Message is read-only wi *[]*internal.WorkerInfo should be pre-allocated
Click to show internal directories.
Click to hide internal directories.