p2p-messenger

command module
v0.0.0-...-f60ece2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

README

Peer to Peer messaging

GoDoc Go Report Card LICENSE

Build front with simple UI:

cd front
npm update
npm run build

Start messaging:

cd ..
go run app.go -name Snowden

Start params

-name string
    you name (default "USER@HOSTNAME")
-peers string
    Path to file with peer addresses on each line (default "peers.txt")
-port int
    port that have to listen (default 35035)
-webview
    Start WebView ui (default true)

Extended info

Documentation

Overview

Go training project

-name string
  	you name (default "eku@eku-HP-ProBook-450-G3")
-peers string
  	Path to file with peer addresses on each line (default "peers.txt")
-port int
  	port that have to listen (default 35035)
-webview
  	Start WebView ui (default false)

Directories

Path Synopsis
Package discover to discovering new peers on network and to announcing yourself
Package discover to discovering new peers on network and to announcing yourself
Package listener Listen port and detect connection type
Package listener Listen port and detect connection type
Package proto - Core of p2p protocol
Package proto - Core of p2p protocol

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL