You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
loop/swapserverrpc
carla dad103530f
multi: move server proto files to their own directory
Protobuf does not allow naming conflicts for files within the same
process, because all proto messages register themselves in a global
registry.

This is problematic because the server's itests import the client's
looprpc package to make rpc queries to the loopd client, thus importing
duplicate common.proto and server.proto from the client's looprc package
(since they're both in there as well).

This change moves the server's proto files into their own directory so
that they are not imported when we want to use the client's files. We
cannot change the package name for the server, because that would be
a breaking change (the package name is included in URIS). Fortunately,
we have the go_package option which allows us to place generated files
in a different location.
2 years ago
..
.clang-format multi: move server proto files to their own directory 2 years ago
Dockerfile multi: move server proto files to their own directory 2 years ago
common.pb.go multi: move server proto files to their own directory 2 years ago
common.proto multi: move server proto files to their own directory 2 years ago
gen_protos.sh multi: move server proto files to their own directory 2 years ago
gen_protos_docker.sh multi: move server proto files to their own directory 2 years ago
server.pb.go multi: move server proto files to their own directory 2 years ago
server.proto multi: move server proto files to their own directory 2 years ago
server_grpc.pb.go multi: move server proto files to their own directory 2 years ago