Versions in this module Expand all Collapse all v1 v1.2.0 Apr 11, 2016 Changes in this version + var SelfNode = Node + func BroadcastMessage(msg common.Message) + func CreateConnection(ip string, silent bool) + func GetMessageChannel() chan common.Message + func GetOutputChannel() chan chan string + func Listen(port int) + func LoadPeers() error + func SavePeers() error + type EncyptedMessage struct + EncyptedMessage string + type Node struct + IsRelay bool + Port string + Username string + type Peer struct + Conn net.Conn + Decoder *gob.Decoder + Encoder *gob.Encoder + Node Node + Username string + type SavedPeer struct + IP string + IsRelay bool + Key string + Username string