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
|
// Router is an interface for a routing control plane
|
||||||
type Router interface {
|
type Router interface {
|
||||||
|
// Router provides a routing table
|
||||||
|
table.Table
|
||||||
// Init initializes the router with options
|
// Init initializes the router with options
|
||||||
Init(...Option) error
|
Init(...Option) error
|
||||||
// Options returns the router options
|
// Options returns the router options
|
||||||
Options() Options
|
Options() Options
|
||||||
// Table returns the routing table
|
|
||||||
table.Table
|
|
||||||
// Advertise advertises routes to the network
|
// Advertise advertises routes to the network
|
||||||
Advertise() (<-chan *Advert, error)
|
Advertise() (<-chan *Advert, error)
|
||||||
// Process processes incoming adverts
|
// Process processes incoming adverts
|
||||||
|
Loading…
Reference in New Issue
Block a user