Skip to content

Commit

Permalink
Simplify dbus-proxy
Browse files Browse the repository at this point in the history
  - re-organizing socket-proxy
  - adding user dbus test
  - adjusting systemd targets

Signed-off-by: Manuel Bluhm <[email protected]>
  • Loading branch information
mbssrc committed Nov 8, 2024
1 parent 72f4f89 commit f56fd74
Show file tree
Hide file tree
Showing 15 changed files with 346 additions and 446 deletions.
148 changes: 28 additions & 120 deletions api/socket/socket.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 2 additions & 9 deletions api/socket/socket.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,11 @@ syntax = "proto3";
option go_package = "./socketproxy";
package socketproxy;

message Empty {}

message SyncData {
uint32 Status = 1;
}

message SocketDataStream {
message BytePacket {
bytes Data = 1;
}

service SocketStream {
rpc Sync(SyncData) returns (SyncData) {}
rpc ReceiveData(stream SocketDataStream) returns (Empty) {}
rpc TransferData(stream BytePacket) returns (stream BytePacket) {}
}

96 changes: 28 additions & 68 deletions api/socket/socket_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f56fd74

Please sign in to comment.