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:
parent
01f0e70213
commit
6027a81f06
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user