From abc73f2ca2b7aeaef172796da382e13c3d69ce8c Mon Sep 17 00:00:00 2001 From: ginuerzh Date: Sun, 19 Nov 2023 16:14:03 +0800 Subject: [PATCH] update router interface --- router/router.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/router/router.go b/router/router.go index 3fc2ac4..b2ce8fe 100644 --- a/router/router.go +++ b/router/router.go @@ -17,8 +17,6 @@ type Route struct { } type Router interface { - // SetRoute adds or updates a route for the router. - SetRoute(ctx context.Context, route *Route, opts ...Option) bool // GetRoute queries a route by destination IP address. GetRoute(ctx context.Context, dst net.IP, opts ...Option) *Route }