deprecated_overflow_gateway.../server/probe_servlet.go

26 lines
376 B
Go
Raw Normal View History

2017-09-21 11:04:19 +00:00
package server
import (
ogw "git.loafle.net/overflow/overflow_gateway_websocket"
"github.com/valyala/fasthttp"
)
func newProbeServlet() Servlet {
s := &probeServlet{}
return s
}
type probeServlet struct {
}
func (s *probeServlet) IsCanConnect(ctx *fasthttp.RequestCtx) bool {
return false
}
func (s *probeServlet) SessionUID(soc ogw.Socket) string {
return ""
}