First commit. Outline of the default network.

This commit is contained in:
Milos Gajdos
2019-08-20 12:48:51 +01:00
parent 718780367e
commit 6beae23afd
9 changed files with 150 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ package resolver
// via the name to connect to. This is done based on Network.Name().
// Before we can be part of any network, we have to connect to it.
type Resolver interface {
// Resolve returns a list of addresses for an name
// Resolve returns a list of addresses for a name
Resolve(name string) ([]*Record, error)
}