Strip Advertise/Process from router
This commit is contained in:
parent
c7ffa51d2c
commit
0c5eb5420c
@ -33,14 +33,6 @@ func (s *static) Table() router.Table {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *static) Advertise() (<-chan *router.Advert, error) {
|
|
||||||
return nil, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (s *static) Process(*router.Advert) error {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (s *static) Lookup(opts ...router.QueryOption) ([]router.Route, error) {
|
func (s *static) Lookup(opts ...router.QueryOption) ([]router.Route, error) {
|
||||||
return s.table.Query(opts...)
|
return s.table.Query(opts...)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user