mirror of
https://github.com/MengMengCode/VoCat.git
synced 2026-08-13 03:13:43 +08:00
13 lines
321 B
Go
13 lines
321 B
Go
//go:build !linux
|
|
|
|
package exportproxy
|
|
|
|
import (
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
func platformSupported() error { return errors.New("built-in export proxy is only available on Linux") }
|
|
func boundDialer(string) net.Dialer { return net.Dialer{} }
|
|
func boundResolver(string) *net.Resolver { return net.DefaultResolver }
|