netbird/signal/README.md

24 lines
681 B
Markdown
Raw Normal View History

2021-06-15 05:08:06 +02:00
# Wiretrustee Signal Server
2021-05-01 12:45:37 +02:00
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```
2021-06-15 05:08:06 +02:00
2021-05-01 12:45:37 +02:00
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):
2021-06-15 05:08:06 +02:00
```bash
#!/bin/bash
2021-05-01 12:45:37 +02:00
sudo apt install protoc-gen-go
sudo apt install golang-goprotobuf-dev
2021-06-15 05:08:06 +02:00
```
2021-05-01 12:45:37 +02:00
Generate gRPC code:
2021-06-15 05:08:06 +02:00
```bash
#!/bin/bash
protoc -I proto/ proto/signalexchange.proto --go_out=plugins=grpc:proto
```