deliver

package
v2.0.8-beta Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromTxID

func FromTxID(qscc GetBlockerInfo, txid api.ChaincodeTx) func(*subscribeEventOption) error

func New

func New(delivercli peer.DeliverClient, identity msp.SigningIdentity) *deliverImpl

New

func WithDefaultSeek

func WithDefaultSeek(seekOpts ...api.EventCCSeekOption) func(*subscribeEventOption) error

WithDefaultSeek need if fromTxID if empty

func WithGetBlockByTx

func WithGetBlockByTx(seekOpts ...api.EventCCSeekOption) func(*subscribeEventOption)

Types

type GetBlockerInfo

type GetBlockerInfo interface {
	GetBlockByTxID(ctx context.Context, channelName string, tx api.ChaincodeTx) (*common.Block, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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