Added network ID option. Added mutex to routing table.

This commit is contained in:
Milos Gajdos
2019-06-07 17:20:22 +01:00
parent e4311c3a10
commit d7f0db04ec
4 changed files with 42 additions and 17 deletions

View File

@@ -24,6 +24,8 @@ type Router interface {
Table() Table
// Address is Router adddress
Address() string
// Network defines network router is in
Network() string
// String implemens fmt.Stringer interface
String() string
}