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 c21af992ff
commit ef95569c61

8
dns.go
View File

@ -41,14 +41,6 @@ func (d *dns) Table() router.Table {
return d.table
}
func (d *dns) Advertise() (<-chan *router.Advert, error) {
return nil, nil
}
func (d *dns) Process(*router.Advert) error {
return nil
}
func (d *dns) Lookup(opts ...router.QueryOption) ([]router.Route, error) {
return d.table.Query(opts...)
}