13 lines
243 B
Go
13 lines
243 B
Go
|
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)
|
||
|
}
|