implement grpc gateway and addl handler support

This commit is contained in:
2025-03-24 16:39:11 -04:00
parent 262f6a4232
commit 7f60a59d42
7 changed files with 15 additions and 12 deletions

View File

@ -19,7 +19,9 @@ func (a *appGRPCServer) registerGRPCServices(ctx context.Context) {
for _, service := range a.opts.Services {
a.registerGRPCService(ctx, service)
a.registerServiceGatewayHandlers(ctx, service)
if a.opts.EnableGRPCGateway {
a.registerServiceGatewayHandlers(ctx, service)
}
}
span.SetStatus(codes.Ok, "")