diana_grpc 0.15.1
diana_grpc: ^0.15.1 copied to clipboard
gRPC support for the Diana backend framework: dependency-injected protoc-generated services with Diana lifecycle integration.
diana_grpc #
gRPC support for the Diana framework:
annotate a class extending your protoc-generated service base with
@GrpcService() and the generated DianaApp serves it on its own port,
from the same dependency injection graph and lifecycle as your HTTP
controllers.
dependencies:
diana: ^0.15.1
diana_grpc: ^0.15.1
This is the only Diana package that depends on package:grpc; HTTP-only
apps carry no gRPC dependency.
Read the gRPC guide.