mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-07 22:39:14 +02:00
29 lines
953 B
Go
29 lines
953 B
Go
package common
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/netbirdio/netbird/client/firewall/manager"
|
|
"github.com/netbirdio/netbird/client/internal/dns"
|
|
"github.com/netbirdio/netbird/client/internal/peer"
|
|
"github.com/netbirdio/netbird/client/internal/peerstore"
|
|
"github.com/netbirdio/netbird/client/internal/routemanager/fakeip"
|
|
"github.com/netbirdio/netbird/client/internal/routemanager/iface"
|
|
"github.com/netbirdio/netbird/client/internal/routemanager/refcounter"
|
|
"github.com/netbirdio/netbird/route"
|
|
)
|
|
|
|
type HandlerParams struct {
|
|
Route *route.Route
|
|
RouteRefCounter *refcounter.RouteRefCounter
|
|
AllowedIPsRefCounter *refcounter.AllowedIPsRefCounter
|
|
DnsRouterInterval time.Duration
|
|
StatusRecorder *peer.Status
|
|
WgInterface iface.WGIface
|
|
DnsServer dns.Server
|
|
PeerStore *peerstore.Store
|
|
UseNewDNSRoute bool
|
|
Firewall manager.Manager
|
|
FakeIPManager *fakeip.Manager
|
|
}
|