add grpc support

This commit is contained in:
2025-03-07 11:16:32 -05:00
parent 81676c5404
commit 5aa5dda111
7 changed files with 205 additions and 15 deletions

View File

@ -24,8 +24,10 @@ type App struct {
}
type AppGRPC struct {
Services []*GRPCService
GRPCOpts []grpc.ServerOption
Services []*GRPCService
UnaryInterceptors []grpc.UnaryServerInterceptor
StreamInterceptors []grpc.StreamServerInterceptor
GRPCOpts []grpc.ServerOption
}
type GRPCService struct {