package
1.0.0
Repository: https://github.com/hyperledger/fabric-sdk-go.git
Documentation: pkg.go.dev

# Functions

WithCreator specifies the creator to use when creating the Transaction Header.
WithNonce specifies the nonce to use when creating the Transaction Header.

# Constants

ApplicationGroupKey is the Application config group key.
Balanced is a load-balancing selection sorting strategy.
BalancedStrategy is a peer resolver strategy that chooses peers based on a configured load balancer.
BlockHeightPriority (default) is a load-balancing selection sorting strategy which also prioritizes peers at a block height that is above a certain "lag" threshold.
CacheSweepInterval is the duration between cache sweeps.
ChannelConfigRefresh channel configuration refresh interval.
ChannelGroupKey is the Channel config group key.
ChannelMembershipRefresh channel membership refresh interval.
ConnectionIdle is the timeout for closing idle connections.
Disabled indicates that the feature is disabled.
DiscoveryConnection discovery connection timeout.
DiscoveryGreylistExpiry discovery Greylist expiration period.
DiscoveryResponse discovery response timeout.
DiscoveryServiceRefresh discovery service refresh interval.
EmptyTransactionID represents a non-existing transaction (usually due to error).
Enabled indicates that the feature is enabled.
EventReg connection timeout.
EventServiceIdle is the timeout for closing the event service connection.
Execute timeout.
MinBlockHeightStrategy is a peer resolver strategy that chooses the best peer according to a block height lag threshold.
OrdererConnection orderer connection timeout.
OrdererGroupKey is the Orderer config group key.
OrdererResponse orderer response timeout.
PeerConnection connection timeout.
PeerResponse peer response timeout.
PreferOrgStrategy is a peer resolver strategy that determines which peers are suitable based on block height lag threshold, although will prefer the peers in the current org (as long as their block height is above a configured threshold).
PropertyChaincodes defines the chaincodes that are deployed on the peer.
PropertyLedgerHeight defines the ledger height property.
PropertyLeftChannel defines the "left-channel" property which indicates whether the peer left the channel.
Query timeout.
Random chooses endorsers randomly.
ResMgmt timeout is default overall timeout for all resource management operations.
ResolveByThreshold resolves to peers based on block height lag threshold.
ResolveLatest resolves to peers with the most up-to-date block height.
RoundRobin (default) chooses endorsers in a round-robin fashion.
SelectionServiceRefresh selection service refresh interval.
SystemChannel is the Fabric channel for managaing resources.
V1_1Capability indicates that Fabric 1.1 features are supported.
V1_2Capability indicates that Fabric 1.2 features are supported.

# Structs

BlockchainInfoResponse wraps blockchain info with endorser info.
BlockEvent contains the data for the block event.
CCEvent contains the data for a chaincode event.
CertKeyPair contains the private key and certificate.
ChaincodeCall contains the ID of the chaincode as well as an optional set of private data collections that may be accessed by the chaincode.
ChaincodeInvokeRequest contains the parameters for sending a transaction proposal.
ChannelEndpointConfig provides the definition of channels for the network.
ChannelPeer combines channel peer info with raw peerConfig info.
ChannelPolicies defines list of policies defined for a channel.
ConnectionEvent is sent when the client disconnects from or reconnects to the event server.
DiscoveryPolicy defines policy for discovery.
EventServicePolicy specifies the policy for the event service.
FilteredBlockEvent contains the data for a filtered block event.
NetworkConfig provides a static definition of endpoint configuration network.
NetworkPeer combines peer info with MSP info.
OrdererConfig defines an orderer configuration.
OrgAnchorPeer contains information about an anchor peer on this channel.
OrganizationConfig provides the definition of an organization in the network.
PeerChannelConfig defines the peer capabilities.
PeerConfig defines a peer configuration.
ProcessProposalRequest requests simulation of a proposed transaction from transaction processors.
QueryChannelConfigPolicy defines policy for channelConfigBlock.
SelectionPolicy defines policy for selection.
A SignedEnvelope can can be sent to an orderer for broadcasting.
The Transaction object created from an endorsed proposal.
TransactionProposal contains a marashalled transaction proposal.
TransactionProposalResponse respresents the result of transaction proposal processing.
TransactionRequest holds endorsed Transaction Proposals.
TransactionResponse contains information returned by the orderer.
TxnHeaderOptions contains options for creating a Transaction Header.
TxStatusEvent contains the data for a transaction status event.
Versions ...

# Interfaces

ChannelCfg contains channel configuration.
ChannelConfig allows for interaction with peer regarding channel configuration.
ChannelMembership helps identify a channel's members.
ChannelProvider supplies Channel related-objects for the named channel.
ChannelService supplies services related to a channel.
ClientContext contains the client context.
CommManager enables network communication.
DiscoveryService is used to discover eligible peers on specific channel.
EndpointConfig contains endpoint network configurations.
EventClient is a client that connects to a peer and receives channel events such as block, filtered block, chaincode, and transaction status events.
EventService is a service that receives events such as block, filtered block, chaincode, and transaction status events.
EventSnapshot contains a snapshot of the event client before it was stopped.
InfraProvider enables access to fabric objects such as peer and user based on config or.
LocalDiscoveryProvider is used to discover peers in the local MSP.
MetricsProvider represents a provider of metrics.
Orderer The Orderer class represents a peer in the target blockchain network to which HFC sends a block of transactions of endorsed proposals requiring ordering.
The Peer class represents a peer in the target blockchain network to which HFC sends endorsement proposals or query requests.
PeerState provides state information about the Peer.
PrioritySelector determines how likely a peer is to be selected over another peer.
ProposalProcessor simulates transaction proposal, so that a client can submit the result for ordering.
ProposalSender provides the ability for a transaction proposal to be created and sent.
Providers represents the SDK configured service providers context.
Registration is a handle that is returned from a successful RegisterXXXEvent.
SelectionService selects peers for endorsement and commit events.
Sender provides the ability for a transaction to be created and sent.
TargetFilter allows for filtering target peers.
TargetSorter allows for sorting target peers.
TransactionHeader provides a handle to transaction metadata.
Transactor supplies methods for sending transaction proposals and transactions.

# Type aliases

BalancerType is the load-balancer type.
BlockFilter is a function that determines whether a Block event should be ignored.
ConfigGroupKey is the config group key.
EnabledDisabled specifies whether or not a feature is enabled.
ErrorHandler is invoked when an error occurs in one of the services.
MinBlockHeightResolverMode specifies the behaviour of the MinBlockHeight resolver strategy.
Properties defines the properties of a peer.
Property is the key into the Properties map.
ResolverStrategy is the peer resolver type.
SelectionSortingStrategy is the endorser selection sorting strategy.
TimeoutType enumerates the different types of outgoing connections.
TransactionID provides the identifier of a Fabric transaction proposal.
TxnHeaderOpt is a Transaction Header option.