Expand description
It contains all the types related to the auto-codegeneration for a defined RPC service when a .proto is compiled.
A ServiceModuleDefinition is auto-generated when a .proto is compiled. And it’s filled with the defined procedures.
Actually, you probably don’t need to use this module or their types.
Structs§
- Procedure
Context - The context type received by every procedure
- Service
Module Definition - It stores all procedures defined for a RPC service
Enums§
- Procedure
Definition - Type used for storing procedure definitions given by the codegeneration for the RPC service
Type Aliases§
- BiStreams
Payload - Payload type that a bidirection streams procedure rceives
- BiStreams
Request Handler - Handler type for a bidirectional streams procedure
- BiStreams
Response - Response type returned by a bidirectional streams procedure
- Client
Streams Payload - Payload type that a client streams procedure receives
- Client
Streams Request Handler - Handler type for a client streams procedure
- Client
Streams Response - Response type returned by a client streams procedure
- Common
Payload - Payload for procedures which don’t receive a stream
- Response
- General type returned by every procedure
- Server
Streams Request Handler - Handler type for a server streams procedure
- Server
Streams Response - Response type returned by a server streams procedure
- Unary
Request Handler - Handler type for a unary procedure.
- Unary
Response - Response type returned by a unary procedure