Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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, discovery fab.DiscoveryService, opts ...options.Opt) (*Client, error)
New returns a new event hub client
func (*Client) PermitBlockEvents ¶
func (p *Client) PermitBlockEvents()
func (*Client) SetConnectionProvider ¶
func (p *Client) SetConnectionProvider(connProvider api.ConnectionProvider)
SetConnectionProvider is used only for testing
func (*Client) SetResponseTimeout ¶
Click to show internal directories.
Click to hide internal directories.