MCPcopy Create free account
hub / github.com/LockGit/gochat / Connect

Method Connect

connect/operator.go:19–23  ·  view source on GitHub ↗

rpc call logic layer

(conn *proto.ConnectRequest)

Source from the content-addressed store, hash-verified

17
18//rpc call logic layer
19func (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
26func (o *DefaultOperator) DisConnect(disConn *proto.DisConnectRequest) (err error) {

Callers

nothing calls this directly

Calls 1

ConnectMethod · 0.65

Tested by

no test coverage detected