├── CHANGE_LOG.md ├── README.md ├── client.go ├── client_example_test.go ├── client_test.go ├── constants_unix.go ├── constants_unix_nocgo.go ├── doc.go ├── endpoints.go ├── errors.go ├── event.go ├── go.mod ├── go.sum ├── handle_batch_middleware.go ├── handle_msg_middleware.go ├── handler.go ├── http.go ├── http_test.go ├── inproc.go ├── interfaces └── provider.go ├── ipc.go ├── ipc_js.go ├── ipc_unix.go ├── ipc_windows.go ├── json.go ├── metrics.go ├── provider_wrapper ├── circuit_breaker.go ├── circuit_breaker_test.go ├── generic.go ├── provider.go ├── provider_base.go ├── provider_breaker.go ├── provider_logger.go ├── provider_middleware.go ├── provider_middleware_test.go ├── provider_retry.go ├── provider_test.go └── provider_timeout.go ├── server.go ├── server_test.go ├── service.go ├── stdio.go ├── subscription.go ├── subscription_test.go ├── testdata ├── invalid-badid.js ├── invalid-batch.js ├── invalid-idonly.js ├── invalid-nonobj.js ├── invalid-syntax.json ├── reqresp-batch.js ├── reqresp-echo.js ├── reqresp-namedparam.js ├── reqresp-noargsrets.js ├── reqresp-nomethod.js ├── reqresp-noparam.js ├── reqresp-paramsnull.js ├── reqresp-paramsvariadic.js ├── revcall.js ├── revcall2.js └── subscription.js ├── testservice_test.go ├── types.go ├── types_test.go ├── utils └── utils.go ├── websocket.go └── websocket_test.go /CHANGE_LOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/CHANGE_LOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/README.md -------------------------------------------------------------------------------- /client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/client.go -------------------------------------------------------------------------------- /client_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/client_example_test.go -------------------------------------------------------------------------------- /client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/client_test.go -------------------------------------------------------------------------------- /constants_unix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/constants_unix.go -------------------------------------------------------------------------------- /constants_unix_nocgo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/constants_unix_nocgo.go -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/doc.go -------------------------------------------------------------------------------- /endpoints.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/endpoints.go -------------------------------------------------------------------------------- /errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/errors.go -------------------------------------------------------------------------------- /event.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/event.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/go.sum -------------------------------------------------------------------------------- /handle_batch_middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/handle_batch_middleware.go -------------------------------------------------------------------------------- /handle_msg_middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/handle_msg_middleware.go -------------------------------------------------------------------------------- /handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/handler.go -------------------------------------------------------------------------------- /http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/http.go -------------------------------------------------------------------------------- /http_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/http_test.go -------------------------------------------------------------------------------- /inproc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/inproc.go -------------------------------------------------------------------------------- /interfaces/provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/interfaces/provider.go -------------------------------------------------------------------------------- /ipc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/ipc.go -------------------------------------------------------------------------------- /ipc_js.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/ipc_js.go -------------------------------------------------------------------------------- /ipc_unix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/ipc_unix.go -------------------------------------------------------------------------------- /ipc_windows.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/ipc_windows.go -------------------------------------------------------------------------------- /json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/json.go -------------------------------------------------------------------------------- /metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/metrics.go -------------------------------------------------------------------------------- /provider_wrapper/circuit_breaker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/circuit_breaker.go -------------------------------------------------------------------------------- /provider_wrapper/circuit_breaker_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/circuit_breaker_test.go -------------------------------------------------------------------------------- /provider_wrapper/generic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/generic.go -------------------------------------------------------------------------------- /provider_wrapper/provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/provider.go -------------------------------------------------------------------------------- /provider_wrapper/provider_base.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/provider_base.go -------------------------------------------------------------------------------- /provider_wrapper/provider_breaker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/provider_breaker.go -------------------------------------------------------------------------------- /provider_wrapper/provider_logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/provider_logger.go -------------------------------------------------------------------------------- /provider_wrapper/provider_middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/provider_middleware.go -------------------------------------------------------------------------------- /provider_wrapper/provider_middleware_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/provider_middleware_test.go -------------------------------------------------------------------------------- /provider_wrapper/provider_retry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/provider_retry.go -------------------------------------------------------------------------------- /provider_wrapper/provider_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/provider_test.go -------------------------------------------------------------------------------- /provider_wrapper/provider_timeout.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/provider_wrapper/provider_timeout.go -------------------------------------------------------------------------------- /server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/server.go -------------------------------------------------------------------------------- /server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/server_test.go -------------------------------------------------------------------------------- /service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/service.go -------------------------------------------------------------------------------- /stdio.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/stdio.go -------------------------------------------------------------------------------- /subscription.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/subscription.go -------------------------------------------------------------------------------- /subscription_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/subscription_test.go -------------------------------------------------------------------------------- /testdata/invalid-badid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/invalid-badid.js -------------------------------------------------------------------------------- /testdata/invalid-batch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/invalid-batch.js -------------------------------------------------------------------------------- /testdata/invalid-idonly.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/invalid-idonly.js -------------------------------------------------------------------------------- /testdata/invalid-nonobj.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/invalid-nonobj.js -------------------------------------------------------------------------------- /testdata/invalid-syntax.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/invalid-syntax.json -------------------------------------------------------------------------------- /testdata/reqresp-batch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/reqresp-batch.js -------------------------------------------------------------------------------- /testdata/reqresp-echo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/reqresp-echo.js -------------------------------------------------------------------------------- /testdata/reqresp-namedparam.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/reqresp-namedparam.js -------------------------------------------------------------------------------- /testdata/reqresp-noargsrets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/reqresp-noargsrets.js -------------------------------------------------------------------------------- /testdata/reqresp-nomethod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/reqresp-nomethod.js -------------------------------------------------------------------------------- /testdata/reqresp-noparam.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/reqresp-noparam.js -------------------------------------------------------------------------------- /testdata/reqresp-paramsnull.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/reqresp-paramsnull.js -------------------------------------------------------------------------------- /testdata/reqresp-paramsvariadic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/reqresp-paramsvariadic.js -------------------------------------------------------------------------------- /testdata/revcall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/revcall.js -------------------------------------------------------------------------------- /testdata/revcall2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/revcall2.js -------------------------------------------------------------------------------- /testdata/subscription.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testdata/subscription.js -------------------------------------------------------------------------------- /testservice_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/testservice_test.go -------------------------------------------------------------------------------- /types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/types.go -------------------------------------------------------------------------------- /types_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/types_test.go -------------------------------------------------------------------------------- /utils/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/utils/utils.go -------------------------------------------------------------------------------- /websocket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/websocket.go -------------------------------------------------------------------------------- /websocket_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openweb3/go-rpc-provider/HEAD/websocket_test.go --------------------------------------------------------------------------------