Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBlockNum ¶
WithBlockNum specifies the block number from which events are to be received. Note that this option is only valid if SeekType is set to SeekFrom.
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 fabcontext.Client, chConfig fab.ChannelCfg, discoveryService fab.DiscoveryService, opts ...options.Opt) (*Client, error)
New returns a new deliver event client
func (*Client) PermitBlockEvents ¶
func (p *Client) PermitBlockEvents()
func (*Client) SetConnectionProvider ¶
func (p *Client) SetConnectionProvider(connProvider api.ConnectionProvider)
SetConnectionProvider is only used in unit tests
func (*Client) SetFromBlock ¶
func (p *Client) SetFromBlock(value uint64)
func (*Client) SetResponseTimeout ¶
func (*Client) SetSeekType ¶
Click to show internal directories.
Click to hide internal directories.