First commit: Outline of Router interface

This commit is contained in:
Milos Gajdos
2019-06-06 16:37:40 +01:00
parent 6587ae07be
commit 08da7c1283
5 changed files with 152 additions and 0 deletions

7
router/route.go Normal file
View File

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