26 lines
376 B
Go
26 lines
376 B
Go
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 ""
|
|
|
|
}
|