grpc-gateway Questions

3

I am grpc rookie and wanted to create a REST endpoint for health check of the grpc server. For this I decided to use grpc gateway. However, the example in docs for grpc-REST gateway for proxying gr...
Lanark asked 27/9, 2020 at 10:49

2

When I do a go mod tidy (go v1.19), I am receiving the following error. I do see both packages in my go pkg directory. I assume that v1.6.1 is the most current version and is the one to keep. If th...
Volscian asked 9/9, 2022 at 8:26

1

I am currently working on creating a gRPC service that uses the gRPC gateway / HTTP reverse-proxy to also offer HTTP support. I would like to follow the common conventions of Google API design. Th...
Petrillo asked 10/8, 2018 at 23:20

3

Solved

I use grpc-gateway to host an HTTP server out of my proto definitions. It works great overall. However, for one special endpoint, instead of returning a value back, I want to do a 302 redirect to...
Prebend asked 17/4, 2018 at 13:0

1

Let's take this example from the official doc: // Updates a book. rpc UpdateBook(UpdateBookRequest) returns (Book) { // Update maps to HTTP PATCH. Resource name is mapped to a URL path. // Resou...
Gaskill asked 27/12, 2018 at 16:54

0

Why does the protobuf JavaScript code generator suffix collections with the collection type? For example: repeated string names becomes obj.namesList map<string, string> bar becomes obj.ba...
Martelle asked 24/7, 2018 at 22:45
1

© 2022 - 2024 — McMap. All rights reserved.