19 lines
335 B
Go
19 lines
335 B
Go
package rpc
|
|
|
|
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() {
|
|
|
|
}
|