router: improve router configuration (#1745)

* router: update default address to :8084

* service: add router to service options

* config/cmd: improve router setup
This commit is contained in:
ben-toogood
2020-06-26 10:38:11 +01:00
committed by GitHub
parent ee02511658
commit 4f0f4326df
3 changed files with 19 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ import (
var (
// DefaultAddress is default router address
DefaultAddress = ":9093"
DefaultAddress = ":8084"
// DefaultName is default router service name
DefaultName = "go.micro.router"
// DefaultNetwork is default micro network