Strip Advertise/Process from router

This commit is contained in:
Asim Aslam 2020-08-14 23:51:52 +01:00 committed by Vasiliy Tolstov
parent c7ffa51d2c
commit 0c5eb5420c

View File

@ -33,14 +33,6 @@ func (s *static) Table() router.Table {
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) {
return s.table.Query(opts...)
}