mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-26 01:53:42 +01:00
commit
2784f6a098
@ -1,3 +1,5 @@
|
|||||||
|
# Wiretrustee Signal Server
|
||||||
|
|
||||||
This is a Wiretrustee signal-exchange server and client library to exchange connection information between Wiretrustee Trusted Device and Wiretrustee Hub
|
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:
|
The project uses gRPC library and defines service in protobuf file located in:
|
||||||
@ -6,13 +8,16 @@ The project uses gRPC library and defines service in protobuf file located in:
|
|||||||
To build the project you have to do the following things.
|
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):
|
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 protoc-gen-go
|
||||||
sudo apt install golang-goprotobuf-dev
|
sudo apt install golang-goprotobuf-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
Generate gRPC code:
|
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
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user