mirror of
https://github.com/sigcn/pg.git
synced 2025-10-05 15:26:52 +08:00
23 lines
386 B
Go
23 lines
386 B
Go
//go:build !linux && !windows && !darwin
|
|
|
|
package netlink
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
func RouteSubscribe(ctx context.Context, ch chan<- RouteUpdate) error {
|
|
return errors.ErrUnsupported
|
|
}
|
|
func AddRoute(string, *net.IPNet, net.IP) error {
|
|
// noop
|
|
return errors.ErrUnsupported
|
|
}
|
|
|
|
func DelRoute(string, *net.IPNet, net.IP) error {
|
|
// noop
|
|
return errors.ErrUnsupported
|
|
}
|