reorder and reword
This commit is contained in:
parent
d725980444
commit
c5214c931f
@ -11,10 +11,10 @@ import (
|
|||||||
// is responsible for routing messages to the correct services.
|
// is responsible for routing messages to the correct services.
|
||||||
type Network interface {
|
type Network interface {
|
||||||
options.Options
|
options.Options
|
||||||
// Create starts the network and creates a new node
|
|
||||||
Create() (*Node, error)
|
|
||||||
// Name of the network
|
// Name of the network
|
||||||
Name() string
|
Name() string
|
||||||
|
// Create returns a new network node id/address
|
||||||
|
Create() (*Node, error)
|
||||||
// Connect to a node on the network
|
// Connect to a node on the network
|
||||||
Connect(*Node) (Conn, error)
|
Connect(*Node) (Conn, error)
|
||||||
// Listen for connections for this node
|
// Listen for connections for this node
|
||||||
|
Loading…
Reference in New Issue
Block a user