eventhubclient

package
v1.0.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithBlockEvents

func WithBlockEvents() options.Opt

WithBlockEvents indicates that block events are to be received.

Types

type Client

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

Client connects to a peer and receives channel events, such as bock, filtered block, chaincode, and transaction status events.

func New

func New(context context.Client, chConfig fab.ChannelCfg, opts ...options.Opt) (*Client, error)

New returns a new event hub client

func (*Client) SetConnectionProviderAndInterests

func (p *Client) SetConnectionProviderAndInterests(connProvider api.ConnectionProvider, interests []*pb.Interest, permitBlockEvents bool)

func (*Client) SetResponseTimeout

func (p *Client) SetResponseTimeout(value time.Duration)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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