MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / MakeRemoteRpcServerImpl

Function MakeRemoteRpcServerImpl

pkg/wshrpc/wshremote/wshremote.go:46–56  ·  view source on GitHub ↗
(logWriter io.Writer, router *wshutil.WshRouter, rpcClient *wshutil.WshRpc, isLocal bool, initialEnv map[string]string, sockName string)

Source from the content-addressed store, hash-verified

44}
45
46func MakeRemoteRpcServerImpl(logWriter io.Writer, router *wshutil.WshRouter, rpcClient *wshutil.WshRpc, isLocal bool, initialEnv map[string]string, sockName string) *ServerImpl {
47 return &ServerImpl{
48 LogWriter: logWriter,
49 Router: router,
50 RpcClient: rpcClient,
51 IsLocal: isLocal,
52 InitialEnv: initialEnv,
53 JobManagerMap: make(map[string]*JobManagerConnection),
54 SockName: sockName,
55 }
56}
57
58func (*ServerImpl) WshServerImpl() {}
59

Callers 3

serverRunNormalFunction · 0.92
createMainWshClientFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected