package websocket import ( "git.loafle.net/commons/server-go" "github.com/valyala/fasthttp" ) type Servlet interface { server.Servlet Handshake(servletCtx server.ServletCtx, ctx *fasthttp.RequestCtx) (*fasthttp.ResponseHeader, error) }