Redefeind interfaces; Added better modelled data strauctures

Router interface has been redefined which fits better with what we are
looking for.

Routing table now offers a comprehensive set of information about its
entries which will make up for rich queries in the future

Query interface has been defined to enable current basic and more
advanced queries in the future.
This commit is contained in:
Milos Gajdos
2019-06-06 23:29:24 +01:00
parent 08da7c1283
commit ee8b6b3114
7 changed files with 206 additions and 51 deletions

View File

@@ -1,7 +0,0 @@
package router
// Route is micro network route
type Route struct {
// Hop is the next route hop
Hop Router
}