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

Struct RpcConnectClient

task/rpc.go:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36type RpcConnectClient struct {
37 lock sync.Mutex
38 ServerInsMap map[string][]Instance //serverId--[]ins
39 IndexMap map[string]int //serverId--index
40}
41
42func (rc *RpcConnectClient) GetRpcClientByServerId(serverId string) (c client.XClient, err error) {
43 rc.lock.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected