ing
This commit is contained in:
parent
bb465d3628
commit
e1996e75a4
7
client/client_handler.go
Normal file
7
client/client_handler.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package client
|
||||
|
||||
import "git.loafle.net/commons_go/rpc/client"
|
||||
|
||||
type ClientHandler interface {
|
||||
client.ClientHandler
|
||||
}
|
|
@ -6,7 +6,7 @@ import (
|
|||
"git.loafle.net/commons_go/rpc/protocol/json"
|
||||
)
|
||||
|
||||
func NewClientHandler(addr string, registry rpc.Registry) *ClientHandlers {
|
||||
func NewClientHandler(addr string, registry rpc.Registry) ClientHandler {
|
||||
ch := &ClientHandlers{}
|
||||
ch.addr = addr
|
||||
ch.RPCRegistry = registry
|
||||
|
|
Loading…
Reference in New Issue
Block a user