package
0.0.0-20221019062149-4514fd00f571
Repository: https://github.com/hellobchain/fabric-sdk-go.git
Documentation: pkg.go.dev
# Functions
New returns a ledger client instance.
WithClientTargetEndpoints option to configure new.
WithClientTargets allows overriding of the target peers for the request.
WithCompleteClientTargetEndpoints option to configure new.
WithCompleteClientTargets allows overriding of the target peers for the request.
WithCompleteTargetEndpoints allows overriding of the target peers for the request.
WithCompleteTargets allows overriding of the target peers for the request.
WithDefaultTargetFilter option to configure new.
WithMaxTargets specifies maximum number of targets to select per request.
WithMinTargets specifies minimum number of targets that have to respond with no error (or agree on result).
WithParentContext encapsulates grpc parent context.
WithTargetEndpoints allows overriding of the target peers per request.
WithTargetFilter specifies a per-request target peer-filter.
WithTargets allows for overriding of the target peers per request.
WithTimeout encapsulates key value pairs of timeout type, timeout duration to Optionsfor QueryInfo, QueryBlock, QueryBlockByHash, QueryBlockByTxID, QueryTransaction, QueryConfig functions.
# Type aliases
ClientOption describes a functional parameter for the New constructor.
RequestOption func for each requestOptions argument.