Update router comments
This commit is contained in:
parent
01f0e70213
commit
6027a81f06
@ -24,11 +24,11 @@ type Router interface {
|
|||||||
Options() Options
|
Options() Options
|
||||||
// The routing table
|
// The routing table
|
||||||
Table() Table
|
Table() Table
|
||||||
// Advertise advertises routes to the network
|
// Advertise advertises routes
|
||||||
Advertise() (<-chan *Advert, error)
|
Advertise() (<-chan *Advert, error)
|
||||||
// Process processes incoming adverts
|
// Process processes incoming adverts
|
||||||
Process(*Advert) error
|
Process(*Advert) error
|
||||||
// Solicit advertises the whole routing table to the network
|
// Solicit advertises the whole routing table
|
||||||
Solicit() error
|
Solicit() error
|
||||||
// Lookup queries routes in the routing table
|
// Lookup queries routes in the routing table
|
||||||
Lookup(...QueryOption) ([]Route, error)
|
Lookup(...QueryOption) ([]Route, error)
|
||||||
|
Loading…
Reference in New Issue
Block a user