Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 469 Bytes

Readme.md

File metadata and controls

30 lines (19 loc) · 469 Bytes

Test P2P Network

Experiment with P2P networks using gRPC in golang.

Getting Started

go get -u
go mod tidy

Generating proto files

protoc --go_out=plugins=grpc:. --go_opt=paths=source_relative pkg/ping/ping.proto

Get info on all the available commands

go run ./main.go --help

You can do a test execution with the ping test command, this will setup two nodes that will ping each other.

go run ./main.go pingTest