22 lines
448 B
Go
22 lines
448 B
Go
package rpc
|
|
|
|
import (
|
|
cwf "git.loafle.net/commons_go/websocket_fasthttp"
|
|
"github.com/valyala/fasthttp"
|
|
)
|
|
|
|
type GatewayRPCHandlers struct {
|
|
}
|
|
|
|
func (sh *GatewayRPCHandlers) Init(serverCTX cwf.ServerContext) error {
|
|
return nil
|
|
}
|
|
|
|
func (sh *GatewayRPCHandlers) Handshake(socketCTX cwf.SocketContext, ctx *fasthttp.RequestCtx) (id string, extensionsHeader *fasthttp.ResponseHeader) {
|
|
return "", nil
|
|
}
|
|
|
|
func (sh *GatewayRPCHandlers) Validate() {
|
|
|
|
}
|