deliver

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromTxID added in v0.3.0

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

func New added in v0.1.3

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

New

func WithDefaultSeek added in v0.3.0

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

WithDefaultSeek need if fromTxID if empty

func WithGetBlockByTx added in v0.3.0

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

Types

type GetBlockerInfo added in v0.3.0

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