relayer

package
v0.0.0-...-7131e01 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2019 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRelayer

func InitRelayer(cdc *amino.Codec, chainId string, provider string,
	contractAddress common.Address, eventSig string,
	validatorFrom string) error

func IsWebsocketURL

func IsWebsocketURL(rawurl string) bool

IsWebsocketURL return true if the given URL is a websocket URL

func SetupWebsocketEthClient

func SetupWebsocketEthClient(ethURL string) (*ethclient.Client, error)

SetupWebsocketEthClient returns an websocket ethclient if URL is valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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