overflow_gateway_websocket/client/client_handlers.go
crusader f1974f7197 ing
2017-12-01 16:02:55 +09:00

20 lines
372 B
Go

package client
import (
cr "git.loafle.net/commons_go/rpc"
crc "git.loafle.net/commons_go/rpc/client"
crpj "git.loafle.net/commons_go/rpc/protocol/json"
)
func NewClientHandler(registry cr.Registry) ClientHandler {
ch := &ClientHandlers{}
ch.RPCRegistry = registry
ch.Codec = crpj.NewClientCodec()
return ch
}
type ClientHandlers struct {
crc.ClientHandlers
}