client

package
v0.0.0-...-9c37315 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	ProtectFD      func(fd int32) bool
	DialTimeout    int
	ConnTimeout    int
	ServerHttpAddr string
	C              *ethclient.Client
}

func NewClient

func NewClient(addr string, protect func(fd int32) bool, dialTimeout, connTimeout int) *Client

func (*Client) Dial

func (cl *Client) Dial(rawurl string) (*ethclient.Client, error)

Jump to

Keyboard shortcuts

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