Commit 8df50120 authored by chenhw2's avatar chenhw2 Committed by ginuerzh

fix build in go-1.10.3 at win (#282)

parent c4e6bcf5
......@@ -25,6 +25,10 @@ func TCPRedirectHandler(opts ...HandlerOption) Handler {
return h
}
func (h *tcpRedirectHandler) Init(options ...HandlerOption) {
log.Log("[red-tcp] TCP redirect is not available on the Windows platform")
}
func (h *tcpRedirectHandler) Handle(c net.Conn) {
log.Log("[red-tcp] TCP redirect is not available on the Windows platform")
c.Close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment