Browse Source

fix redirect on windows

pull/107/head
rui.zheng 10 years ago
parent
commit
8762ab33dd
  1. 2
      redirect.go
  2. 17
      redirect_win.go

2
redirect.go

@ -1,3 +1,5 @@
// +build !windows
package gost
import (

17
redirect_win.go

@ -0,0 +1,17 @@
// +build windows
package gost
import (
"errors"
)
type RedsocksTCPServer struct{}
func NewRedsocksTCPServer(base *ProxyServer) *RedsocksTCPServer {
return &RedsocksTCPServer{}
}
func (s *RedsocksTCPServer) ListenAndServe() error {
return errors.New("Not supported")
}
Loading…
Cancel
Save