primeiro commit

This commit is contained in:
2026-07-05 14:26:03 -03:00
commit 87a356c742
19 changed files with 1404 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
//go:build !linux
package probe
import (
"context"
"net"
)
// GatewayForInterface returns the default IPv4 gateway for an interface.
func GatewayForInterface(ctx context.Context, iface string) (net.IP, error) {
if err := ctx.Err(); err != nil {
return nil, err
}
return nil, errUnsupportedGateway
}