admin

package
v0.0.0-...-769830f Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: MIT Imports: 1 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 {
}

Client is the struct for this implementation of IClient.

func GetClient

func GetClient() *Client

GetClient returns a pointer to an instance of this implementation of IClient.

func (*Client) GetConnection

func (a *Client) GetConnection(address string) (*rpc.Client, error)

GetConnection returns a connection to the given Geth instance.

type IClient

type IClient interface {
	GetConnection(address string) (*rpc.Client, error)
}

IClient is the interface for interacting with the Geth admin API.

Jump to

Keyboard shortcuts

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