move table

This commit is contained in:
Asim Aslam 2019-07-10 07:56:18 +01:00
parent c36107e811
commit 9955ed2034

View File

@ -25,12 +25,12 @@ const (
// Router is an interface for a routing control plane
type Router interface {
// Router provides a routing table
table.Table
// Init initializes the router with options
Init(...Option) error
// Options returns the router options
Options() Options
// Table returns the routing table
table.Table
// Advertise advertises routes to the network
Advertise() (<-chan *Advert, error)
// Process processes incoming adverts