Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
0 answers
56 views

I was under the impression that given an rpc like below rpc FetchResource(GetResourceRequest) returns (ResourceResponse) { option (google.api.http) = {get: "/v1/resource/{resource_id}/group&...
dat's user avatar
  • 442
0 votes
0 answers
26 views

I want to use grpc-gateway but I have some custom proto annotation that affect how Json is marshalled/unmarshalled from http payloads. Those annotations are context sensitive (depending on user ...
Boolangery's user avatar
1 vote
0 answers
67 views

I have enpoint that must return a response like { "reallyOptionalValue": "string" //must be omitted when empty "nullableValue": "string or null" } my ...
1 vote
0 answers
147 views

Background I have an application that uses gRPC to communicate with other services. Nothing fancy. The data exchange includes fields representing SHA-1, SHA-256 and UUIDs, which are stored as bytes. ...
2 votes
1 answer
392 views

In the course of work there appeared a necessity to perform strings.TrimSpace on all fields with protobuf type string As a result it was decided to write a plugin that generates the necessary ...
2 votes
0 answers
82 views

I'm trying to create an app using go grpc gateway but I faced with the problem. I integrate external service using it's webhooks that use XML format. But as I understand grpc gateway doesn't support ...
1 vote
0 answers
323 views

I'm trying to create an app using grpc-gateway and go but faced with the problem. I'm trying to write an interceptor that will authorize users before the requests using cookie and user agent. However ...
4 votes
1 answer
243 views

I'm trying to create a microservice app using grpc gateway, but faced with a small problem. When I try to send request to api, my fields initialize as zero-value. It's the first time when I'm trying ...
1 vote
1 answer
717 views

Is there any way to config public route and auth route in gRPC gateway similar to other http frameworks. For example in echo framework we can config like this func main() { e := echo.New() ...
onemin's user avatar
  • 55
2 votes
0 answers
157 views

I have mostly used REST or grpc separately in services. When I needed both, used go-kit. But in my new project, OpenAPIv3 is a high want on the REST side and grpc is also needed. I have two options: ...
aloha's user avatar
  • 1,583
2 votes
0 answers
164 views

I've setup a grpc-gateway for a small testbed service and I have a UnaryServerInterceptor setup that checks authorization bearer tokens and validate against an SSO introspection URL. func (im *...
Odinovsky's user avatar
  • 565
0 votes
0 answers
229 views

first I want to specify our architecture. Client -> Grpc Gateway -> Server In our architecture, we use a gateway to process and authenticate requests and then pass it to the Server application. ...
1 vote
0 answers
413 views

I'm having problem with this error protoreflect.ProtoMessage value in return statement: *HelloReply does not implement protoreflect.ProtoMessage (missing method ProtoReflect) Indeed there is no ...
Shibbaz's user avatar
  • 11
1 vote
0 answers
113 views

i am currently discarding traefik ingress controller and writing the golang code. i need help in understanding how to configure the ingress controller rules dynamically from grpc request and then ...
3 votes
0 answers
848 views

Here is my CORS policy set to have a custom header return http.ListenAndServe(":"+port, handlers.CORS(handlers.AllowedHeaders([]string{"X-Requested-With", "Content-...

15 30 50 per page
1
2 3 4 5

AltStyle によって変換されたページ (->オリジナル) /