mirror of
https://github.com/fosrl/newt.git
synced 2025-12-05 19:17:38 -06:00
35 lines
630 B
Go
35 lines
630 B
Go
//go:build !linux
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/fosrl/newt/proxy"
|
|
"github.com/fosrl/newt/websocket"
|
|
)
|
|
|
|
func setupClientsNative(client *websocket.Client, host string) {
|
|
_ = client
|
|
_ = host
|
|
// No-op for non-Linux systems
|
|
}
|
|
|
|
func closeWgServiceNative() {
|
|
// No-op for non-Linux systems
|
|
}
|
|
|
|
func clientsOnConnectNative() {
|
|
// No-op for non-Linux systems
|
|
}
|
|
|
|
func clientsHandleNewtConnectionNative(publicKey, endpoint string) {
|
|
_ = publicKey
|
|
_ = endpoint
|
|
// No-op for non-Linux systems
|
|
}
|
|
|
|
func clientsAddProxyTargetNative(pm *proxy.ProxyManager, tunnelIp string) {
|
|
_ = pm
|
|
_ = tunnelIp
|
|
// No-op for non-Linux systems
|
|
}
|