mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-02 19:39:17 +01:00
d27eb317aa
* chore: update signal gRpc * chore: add Signal keep alive params and policy * feature: add signal TLS support * refactor: move signal Dockerfile to the corresponding folder Co-authored-by: braginini <m.bragin@wiretrustee.com>
23 lines
620 B
Markdown
23 lines
620 B
Markdown
# Wiretrustee Signal Server
|
|
|
|
This is a Wiretrustee signal-exchange server and client library to exchange connection information between Wiretrustee peers
|
|
|
|
The project uses gRpc library and defines service in protobuf file located in:
|
|
```proto/signalexchange.proto```
|
|
|
|
To build the project you have to do the following things.
|
|
|
|
Install golang gRpc tools:
|
|
```bash
|
|
#!/bin/bash
|
|
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
|
|
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
|
|
```
|
|
|
|
Generate gRpc code:
|
|
|
|
```bash
|
|
#!/bin/bash
|
|
protoc -I proto/ proto/signalexchange.proto --go_out=. --go-grpc_out=.
|
|
```
|