Peer to Peer messenger
Features
- UDP multicast discovery within a local network
- End-to-end encryption
Peer local run
> go get -u github.com/ngalayko/p2p/...
> cd $GOPATH/src/github.com/ngalayko/p2p
> go run ./cmd/peer/main.go
> open http://127.0.0.1:30003
Help
> peer --help
Dispatcher local run
NOTE: Requires docker swarm and local resolver (or /etc/hosts
changes)
> docker swarm init
> docker stack deploy -c docker-compose.yaml messenger
> open http://localhost