Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.GRPC.Server.Protobuf
Contents
Description
gRPC server using Protobuf
Intended for unqualified import.
Synopsis
- type family ProtobufServices (servs :: [Type]) :: [[Type]] where ...
- type family ProtobufMethodsOf serv :: [Type] where ...
- type family ProtobufMethods serv (methds :: [Symbol]) :: [Type] where ...
Compute full Protobuf API
type family ProtobufServices (servs :: [Type]) :: [[Type]] where ... Source #
Equations
ProtobufServices ('[] :: [Type]) = '[] :: [[Type]] | |
ProtobufServices (serv ': servs) = ProtobufMethodsOf serv ': ProtobufServices servs |
type family ProtobufMethodsOf serv :: [Type] where ... Source #
Equations
ProtobufMethodsOf serv = ProtobufMethods serv (ServiceMethods serv) |
type family ProtobufMethods serv (methds :: [Symbol]) :: [Type] where ... Source #
Equations
ProtobufMethods serv ('[] :: [Symbol]) = '[] :: [Type] | |
ProtobufMethods serv (meth ': meths) = Protobuf serv meth ': ProtobufMethods serv meths |