overflow_gateway_websocket/rpc/gateway_rpc_handler.go
crusader 9c0a3b06a5 ing
2017-12-01 17:12:09 +09:00

15 lines
321 B
Go

package rpc
import (
"github.com/valyala/fasthttp"
cwf "git.loafle.net/commons_go/websocket_fasthttp"
)
type GatewayRPCHandler interface {
Init(serverCTX cwf.ServerContext) error
Handshake(socketCTX cwf.SocketContext, ctx *fasthttp.RequestCtx) (id string, extensionsHeader *fasthttp.ResponseHeader)
Validate()
}