utils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLedgerChannel

func CreateLedgerChannel(client rpc.RpcClientApi, counterPartyAddress common.Address) error

func StopCommands

func StopCommands(cmds ...*exec.Cmd)

StopCommands stops the given executing commands

func WaitForKillSignal

func WaitForKillSignal()

WaitForKillSignal blocks until we receive a kill or interrupt signal

func WaitForRpcClient added in v0.1.1

func WaitForRpcClient(rpcClientUrl string, interval, timeout time.Duration) error

waitForRpcClient waits for an RPC to be available at the given url It does this by performing a GET request to the url until it receives a response

Types

This section is empty.

Jump to

Keyboard shortcuts

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