overflow_gateway_websocket/client/client.go
crusader 7a72c4a5f6 ing
2017-11-30 14:43:54 +09:00

16 lines
387 B
Go

package client
import (
"git.loafle.net/commons_go/rpc/client"
crcrwf "git.loafle.net/commons_go/rpc/client/rwc/websocket/fasthttp"
cwfc "git.loafle.net/commons_go/websocket_fasthttp/client"
)
func New(clientHandler ClientHandler, socketBuilder cwfc.SocketBuilder) client.Client {
cRWCHandler := crcrwf.New(socketBuilder)
c := client.New(clientHandler, cRWCHandler)
return c
}