Versions in this module Expand all Collapse all v0 v0.0.2 Jan 22, 2021 v0.0.1 Jan 22, 2021 Changes in this version + type Client struct + func New(channelProvider context.ChannelProvider, opts ...ClientOption) (*Client, error) + func (cc *Client) Execute(request Request, options ...RequestOption) (Response, error) + func (cc *Client) InvokeHandler(handler invoke.Handler, request Request, options ...RequestOption) (Response, error) + func (cc *Client) Query(request Request, options ...RequestOption) (Response, error) + func (cc *Client) RegisterChaincodeEvent(chainCodeID string, eventFilter string) (fab.Registration, <-chan *fab.CCEvent, error) + func (cc *Client) UnregisterChaincodeEvent(registration fab.Registration) + type ClientOption func(*Client) error + type Request struct + Args [][]byte + ChaincodeID string + Fcn string + InvocationChain []*fab.ChaincodeCall + IsInit bool + TransientMap map[string][]byte + type RequestOption func(ctx context.Client, opts *requestOptions) error + func WithBeforeRetry(beforeRetry retry.BeforeRetryHandler) RequestOption + func WithChaincodeFilter(ccFilter invoke.CCFilter) RequestOption + func WithParentContext(parentContext reqContext.Context) RequestOption + func WithRetry(retryOpt retry.Opts) RequestOption + func WithTargetEndpoints(keys ...string) RequestOption + func WithTargetFilter(filter fab.TargetFilter) RequestOption + func WithTargetSorter(sorter fab.TargetSorter) RequestOption + func WithTargets(targets ...fab.Peer) RequestOption + func WithTimeout(timeoutType fab.TimeoutType, timeout time.Duration) RequestOption + type Response struct + ChaincodeStatus int32 + Payload []byte + Proposal *fab.TransactionProposal + Responses []*fab.TransactionProposalResponse + TransactionID fab.TransactionID + TxValidationCode pb.TxValidationCode