Is “google/protobuf/struct.proto” the best way to send dynamic JSON over GRPC?

Based on this proto file. syntax = “proto3”; package messages; import “google/protobuf/struct.proto”; service UserService { rpc SendJson (SendJsonRequest) returns (SendJsonResponse) {} } message SendJsonRequest { string UserID = 1; google.protobuf.Struct Details = 2; } message SendJsonResponse { string Response = 1; } I think it is a good solution to use the google.protobuf.Struct type. The … Read more

Correct format of protoc go_package?

For pure proto generations you can do the following protoc –go_out=paths=source_relative:./gen -I. authenticator.proto or to generate for grpc the following can be used protoc –go_out=plugins=grpc:./gen –go_opt=paths=source_relative authenticator.proto If that fails you likely have a newer version of protoc and need to use the following command instead. protoc –go-grpc_out=./gen –go-grpc_opt=paths=source_relative authenticator.proto This is just Google making … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)