Documentation
¶
Overview ¶
Package encoder is the request-encoder layer of the gRPC client SDK example's transport. Following the task_scheduler client SDK layout, it exposes a Factory that hands out one typed grpcclientv1.Encoder per RPC, converting a domain request into the corresponding protobuf request message so the transport layer can inject it into the generic gRPC client builder.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DemoEncoders ¶
type DemoEncoders interface {
Echo() grpcclientv1.Encoder[string, *pbv1.EchoRequest]
}
DemoEncoders exposes the typed request encoders of each Demo RPC, matching the generic gRPC client SDK contract. It converts a domain request into the corresponding protobuf request message.