fix redirect on windows
This commit is contained in:
parent
fb3796ece2
commit
8762ab33dd
@ -1,3 +1,5 @@
|
||||
// +build !windows
|
||||
|
||||
package gost
|
||||
|
||||
import (
|
||||
|
17
redirect_win.go
Normal file
17
redirect_win.go
Normal file
@ -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…
Reference in New Issue
Block a user