overflow_gateway_websocket/rpc/rpc_gateway_handlers.go

19 lines
335 B
Go
Raw Normal View History

2017-11-10 13:24:10 +00:00
package rpc
2017-11-14 06:27:18 +00:00
import "github.com/valyala/fasthttp"
type RPCGatewayHandlers struct {
}
func (sh *RPCGatewayHandlers) Init() error {
return nil
}
func (sh *RPCGatewayHandlers) Handshake(ctx *fasthttp.RequestCtx) (id string, extensionsHeader *fasthttp.ResponseHeader) {
return "", nil
}
func (sh *RPCGatewayHandlers) Validate() {
}