Router routing table management. Table route hashes. Status codes changed.

We now manage routing table actions using dedicated functions run on
either registry or services in the registry.

Routing table now uses Route.Hash() instead of maintaining its own hash
struct filed which previously performed these operations.

Various names of variables have been changed to make them more concise.
This commit is contained in:
Milos Gajdos
2019-07-08 16:16:50 +01:00
parent 30d05e34a9
commit 0c1a28a9b6
6 changed files with 96 additions and 136 deletions

View File

@@ -9,7 +9,7 @@ var (
// DefaultAddress is default router address
DefaultAddress = ":9093"
// DefaultNetwork is default micro network
DefaultNetwork = "local"
DefaultNetwork = "micro.mu"
)
// Options are router options