mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-29 19:43:57 +01:00
22 lines
395 B
Go
22 lines
395 B
Go
|
package routemanager
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/netbirdio/netbird/iface"
|
||
|
"github.com/netbirdio/netbird/route"
|
||
|
)
|
||
|
|
||
|
type serverRouter struct {
|
||
|
}
|
||
|
|
||
|
func newServerRouter(ctx context.Context, wgInterface *iface.WGIface) *serverRouter {
|
||
|
return &serverRouter{}
|
||
|
}
|
||
|
|
||
|
func (r *serverRouter) updateRoutes(routesMap map[string]*route.Route) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (r *serverRouter) cleanUp() {}
|