jsonrpc_cli

package
v0.0.0-...-8546448 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RpcRequestSimple

func RpcRequestSimple(serverAddr string, serverPort uint16, timeOut float64,
	rpcFuncName string, rpcArg interface{}) (interface{}, error)

Types

type RpcClient

type RpcClient struct {
	// contains filtered or unexported fields
}

func (*RpcClient) RpcConnect

func (g *RpcClient) RpcConnect(serverAddr string, serverPort uint16, timeOut float64) error

func (*RpcClient) RpcDisConnect

func (g *RpcClient) RpcDisConnect()

func (RpcClient) RpcRequest

func (g RpcClient) RpcRequest(rpcFuncName string, rpcArg interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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