client

package
v0.3.2-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Client is used by watchers to stream chain IPLD data from a vulcanizedb ipld-eth-server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is used to subscribe to the ipld-eth-server ipld data stream

func NewClient

func NewClient(c *rpc.Client) *Client

NewClient creates a new Client

func (*Client) Stream

func (c *Client) Stream(payloadChan chan serve.SubscriptionPayload, params eth.SubscriptionSettings) (*rpc.ClientSubscription, error)

Stream is the main loop for subscribing to iplds from an ipld-eth-server server

Jump to

Keyboard shortcuts

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