Versions in this module Expand all Collapse all v1 v1.2.0 Aug 30, 2023 Changes in this version + type ChannelProvider struct + func New(config fab.EndpointConfig, opts ...options.Opt) (*ChannelProvider, error) + func (cp *ChannelProvider) ChannelService(ctx fab.ClientContext, channelID string) (fab.ChannelService, error) + func (cp *ChannelProvider) Close() + func (cp *ChannelProvider) CloseContext(ctx fab.ClientContext) + func (cp *ChannelProvider) Initialize(providers context.Providers) error + type ChannelService struct + func (cs *ChannelService) ChannelConfig() (fab.ChannelCfg, error) + func (cs *ChannelService) Config() (fab.ChannelConfig, error) + func (cs *ChannelService) Discovery() (fab.DiscoveryService, error) + func (cs *ChannelService) EventService(opts ...options.Opt) (fab.EventService, error) + func (cs *ChannelService) Membership() (fab.ChannelMembership, error) + func (cs *ChannelService) Selection() (fab.SelectionService, error) + func (cs *ChannelService) Transactor(reqCtx reqContext.Context) (fab.Transactor, error) + type EventClientRef struct + func NewEventClientRef(idleTimeout time.Duration, evtClientProvider eventClientProvider) *EventClientRef + func (ref *EventClientRef) Close() + func (ref *EventClientRef) Closed() bool + func (ref *EventClientRef) RegisterBlockEvent(filter ...fab.BlockFilter) (fab.Registration, <-chan *fab.BlockEvent, error) + func (ref *EventClientRef) RegisterChaincodeEvent(ccID, eventFilter string) (fab.Registration, <-chan *fab.CCEvent, error) + func (ref *EventClientRef) RegisterFilteredBlockEvent() (fab.Registration, <-chan *fab.FilteredBlockEvent, error) + func (ref *EventClientRef) RegisterTxStatusEvent(txID string) (fab.Registration, <-chan *fab.TxStatusEvent, error) + func (ref *EventClientRef) Unregister(reg fab.Registration)