hlf

package
v0.0.0-...-5a265b9 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEndorsementMismatchErr

func IsEndorsementMismatchErr(err error) bool

IsEndorsementMismatchErr checks if the error is a mismatch.

Types

type ChCollectorCreator

type ChCollectorCreator func(ctx context.Context,
	dataReady chan<- struct{},
	srcChName string, startFrom uint64) (*chCollector, error)

func NewChCollectorCreator

func NewChCollectorCreator(
	dstChName, connectionProfile,
	userName, orgName string,
	txPrefixes parserdto.TxPrefixes,
	bufSize uint,
) ChCollectorCreator

func NewChCollectorCreatorWithCryptoMgr

func NewChCollectorCreatorWithCryptoMgr(
	dstChName,
	connectionProfile, userName, orgName string,
	txPrefixes parserdto.TxPrefixes,
	cryptoManager manager.Manager,
	bufSize uint,
) ChCollectorCreator

type ChExecutorCreator

type ChExecutorCreator = func(ctx context.Context) (*chExecutor, error)

func NewChExecutorCreator

func NewChExecutorCreator(chName,
	connectionProfile,
	user, org string,
	execOpts ExecuteOptions,
) ChExecutorCreator

func NewChExecutorCreatorWithCryptoMgr

func NewChExecutorCreatorWithCryptoMgr(chName,
	connectionProfile,
	user, org string,
	execOpts ExecuteOptions,
	cryptoManager manager.Manager,
) ChExecutorCreator

type ExecuteOptions

type ExecuteOptions struct {
	ExecuteTimeout time.Duration
}

Jump to

Keyboard shortcuts

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