jsonrpc

package
v3.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2017 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasJsonRpcServ

func HasJsonRpcServ(c *check.C) bool

func OpenClient

func OpenClient(c *check.C, callback FuncJsonRpcClientCallback)

func OpenClientBenchmark

func OpenClientBenchmark(b *testing.B, callback FuncJsonRpcClientCallback)

Types

type FuncJsonRpcClientCallback

type FuncJsonRpcClientCallback func(*rpc.Client)

Callback used to use an opened client and safety-close

type GinkgoJsonRpc

type GinkgoJsonRpc struct{}

func (*GinkgoJsonRpc) NeedJsonRpc

func (g *GinkgoJsonRpc) NeedJsonRpc(src func()) func()

func (*GinkgoJsonRpc) OpenClient

func (g *GinkgoJsonRpc) OpenClient(callback FuncJsonRpcClientCallback)

Jump to

Keyboard shortcuts

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