jsonrpc-fsproxy

command module
Version: v0.0.0-...-b09548e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2021 License: MIT Imports: 9 Imported by: 0

README

jsonrpc-fsproxy

It passes requests to JSON-RPC server via files.

How it works

jsonrpc-fsproxy reads input file, passes each line to JSON-RPC server and writes response to output file.

Usage

jsonrpc-fsproxy [INPUT_FILE_PATH] [OUTPUT_FILE_PATH] [RPC_URL]
Argument Description
INPUT_FILE_PATH Path to input file
OUTPUT_FILE_PATH Path to output file
RPC_URL JSON-RPC server URL
docker

Image: evsamsonov/jsonrpc-fsproxy

$ docker pull evsamsonov/jsonrpc-fsproxy
$ docker run --rm -it -v ${PWD}/dev:/app/dev evsamsonov/jsonrpc-fsproxy /app/jsonrpc-fsproxy dev/rpcin dev/rpcout http://rpc_url
go get
$ go get github.com/evsamsonov/jsonrpc-fsproxy
$ jsonrpc-fsproxy input_file_path output_file_path http://rpc-url

Implementation of client

Language Link
Lua https://github.com/evsamsonov/quik-quotes-exporter/blob/master/src/jsonrpc_fsproxy_client.lua

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL