mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-07 19:40:30 +08:00
A funnel is an abstraction for 1 source to many destinations. As part of this refactoring, shared logic between Darwin and Linux are moved into icmp_posix
16 lines
318 B
Go
16 lines
318 B
Go
//go:build !darwin && !linux && !windows
|
|
|
|
package ingress
|
|
|
|
import (
|
|
"fmt"
|
|
"net/netip"
|
|
"runtime"
|
|
|
|
"github.com/rs/zerolog"
|
|
)
|
|
|
|
func newICMPProxy(listenIP netip.Addr, logger *zerolog.Logger, idleTimeout time.Duration) (ICMPProxy, error) {
|
|
return nil, fmt.Errorf("ICMP proxy is not implemented on %s", runtime.GOOS)
|
|
}
|