-
-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
# Wiretrustee Signal Server | ||
|
||
This is a Wiretrustee signal-exchange server and client library to exchange connection information between Wiretrustee Trusted Device and Wiretrustee Hub | ||
|
||
The project uses gRPC library and defines service in protobuf file located in: | ||
```proto/signal_exchange.proto``` | ||
|
||
To build the project you have to do the following things. | ||
|
||
Install protobuf version 3 (by default v3 is installed on ubuntu 20.04. On previous versions it is proto 2): | ||
``` | ||
|
||
```bash | ||
#!/bin/bash | ||
sudo apt install protoc-gen-go | ||
sudo apt install golang-goprotobuf-dev | ||
``` | ||
``` | ||
|
||
Generate gRPC code: | ||
``` | ||
protoc -I proto/ proto/signalexchange.proto --go_out=plugins=grpc:proto | ||
|
||
``` | ||
```bash | ||
#!/bin/bash | ||
protoc -I proto/ proto/signalexchange.proto --go_out=plugins=grpc:proto | ||
``` |