gost_software/tun_win.go
2019-12-27 14:08:17 +08:00

16 lines
313 B
Go

// +build windows
package gost
import (
"errors"
"net"
)
//TODO: wintun for Windows: https://www.wintun.net/
// https://godoc.org/golang.zx2c4.com/wireguard/tun/wintun
func createTun(cfg TunConfig) (conn net.Conn, ipNet *net.IPNet, err error) {
err = errors.New("tun is not supported on Windows")
return
}