Skip to content

Use all your internet connections at once on Windows, macOS, Linux and Android: per-connection load balancing over Wi-Fi, Ethernet, mobile data and phone tethers

319 B
Raw Blame
//go:build !unix

package state

import "os"

// openLimitFile opens a request for reading. Windows has no O_NOFOLLOW/O_NONBLOCK in syscall, so
// there the regular-file check in readLimitRequest is the guard; ctl/ is not world-writable there.
func openLimitFile(path string) (*os.File, error) { return os.Open(path) }