mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-13 10:21:10 +01:00
10 lines
267 B
Go
10 lines
267 B
Go
|
package manager
|
||
|
|
||
|
// Manager is used to load multiple eBPF programs. E.g., current DNS programs and WireGuard proxy
|
||
|
type Manager interface {
|
||
|
LoadDNSFwd(ip string, dnsPort int) error
|
||
|
FreeDNSFwd() error
|
||
|
LoadWgProxy(proxyPort, wgPort int) error
|
||
|
FreeWGProxy() error
|
||
|
}
|