Strip Link methods

This commit is contained in:
Asim Aslam 2019-07-01 22:52:28 +01:00
parent fbbc33d0f9
commit 8ccf61ebaf

View File

@ -21,8 +21,6 @@ type Network interface {
Connect() (Node, error)
// Peer with a neighboring network
Peer(Network) (Link, error)
// Retrieve list of peers
Links() ([]Link, error)
}
// Node represents a single node on a network
@ -33,8 +31,6 @@ type Node interface {
Address() string
// The network of the node
Network() string
// Links to other nodes
Links() ([]Link, error)
// Close the network connection
Close() error
// Accept messages on the network