mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
move table
This commit is contained in:
parent
c36107e811
commit
9955ed2034
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user