MCPcopy Create free account
hub / github.com/Sifchain/sifnode / newClient

Function newClient

scripts/cli_tests/client.go:58–64  ·  view source on GitHub ↗
(uri string)

Source from the content-addressed store, hash-verified

56}
57
58func newClient(uri string) (*rpchttp.HTTP, error) {
59 rpcClient, err := rpchttp.New(uri, "/websocket")
60 if err != nil {
61 return nil, err
62 }
63 return rpcClient, nil
64}

Callers 1

getClientAndFactoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected