1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00

Update router comments

This commit is contained in:
Asim Aslam 2019-12-17 08:28:45 +00:00
parent 01f0e70213
commit 6027a81f06

View File

@ -24,11 +24,11 @@ type Router interface {
Options() Options
// The routing table
Table() Table
// Advertise advertises routes to the network
// Advertise advertises routes
Advertise() (<-chan *Advert, error)
// Process processes incoming adverts
Process(*Advert) error
// Solicit advertises the whole routing table to the network
// Solicit advertises the whole routing table
Solicit() error
// Lookup queries routes in the routing table
Lookup(...QueryOption) ([]Route, error)