jsonrpc

package
v3.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 21, 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 HasJsonRpcClient deprecated

func HasJsonRpcClient(c *check.C) bool

Prepends "BeforeEach()" for skipping if there is no value for JSONRPC flags.

Deprecated: Try to use "flag.SkipFactory"

See "common/testing/flag"

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 deprecated

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

Prepends "BeforeEach()" for skipping if there is no value for JSONRPC flags.

Deprecated: Try to use "flag.SkipFactory"

See "common/testing/flag"

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