package net type Discoverer interface { } type discovery struct { } func NewDiscoverer() Discoverer { d := &discovery{} return d }