overflow_gateway_websocket/rpc/gateway_rpc_handler.go
crusader ecd5ad53bf ing
2017-11-28 02:12:26 +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(serverCTX cwf.ServerContext, ctx *fasthttp.RequestCtx) (id string, extensionsHeader *fasthttp.ResponseHeader)
Validate()
}