returns the wavesrv main rpc client singleton
()
| 20 | |
| 21 | // returns the wavesrv main rpc client singleton |
| 22 | func GetMainRpcClient() *wshutil.WshRpc { |
| 23 | waveSrvClient_Once.Do(func() { |
| 24 | waveSrvClient_Singleton = wshutil.MakeWshRpc(wshrpc.RpcContext{}, &WshServerImpl, "main-client") |
| 25 | }) |
| 26 | return waveSrvClient_Singleton |
| 27 | } |
no test coverage detected