rpc call logic layer
(conn *proto.ConnectRequest)
| 17 | |
| 18 | //rpc call logic layer |
| 19 | func (o *DefaultOperator) Connect(conn *proto.ConnectRequest) (uid int, err error) { |
| 20 | rpcConnect := new(RpcConnect) |
| 21 | uid, err = rpcConnect.Connect(conn) |
| 22 | return |
| 23 | } |
| 24 | |
| 25 | //rpc call logic layer |
| 26 | func (o *DefaultOperator) DisConnect(disConn *proto.DisConnectRequest) (err error) { |