router: update interface (#1732)

* router: replace Start and Stop with Close

* router: update default network to micro

* router: update tests
This commit is contained in:
ben-toogood
2020-06-24 11:09:16 +01:00
committed by GitHub
parent 695cc9d526
commit c940961574
8 changed files with 33 additions and 42 deletions

View File

@@ -184,7 +184,7 @@ func (r *routerSelector) Reset(service string) {
func (r *routerSelector) Close() error {
// stop the router advertisements
return r.r.Stop()
return r.r.Close()
}
func (r *routerSelector) String() string {