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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package resource provides access to fabric network resource management, typically using system channel queries.
No description provided by the author
Package txn enables creating, endorsing and sending transactions to Fabric peers and orderers.

# Functions

BuildConfigEndpointFromOptions will return an EndpointConfig instance pre-built with Optional interfaces provided in fabsdk's WithEndpointConfig(opts...) call.
ConfigFromBackend returns endpoint config implementation for given backend.
IsEndpointConfigFullyOverridden will return true if all of the argument's sub interfaces is not nil (ie EndpointConfig interface not fully overridden).
UpdateMissingOptsWithDefaultConfig will verify if any functions of the EndpointConfig were not updated with fabsdk's WithConfigEndpoint(opts...) call, then use default EndpointConfig interface for these functions instead.

# Constants

Balanced is a load-balancing selection sorting strategy.
BlockHeightPriority (default) is a load-balancing selection sorting strategy which also prioritizes peers at a block height that is above a certain "lag" threshold.
Random chooses endorsers randomly.
RoundRobin (default) chooses endorsers in a round-robin fashion.

# Structs

ChannelEndpointConfig provides the definition of channels for the network.
ChannelPolicies defines list of policies defined for a channel.
ClientConfig provides the definition of the client configuration.
ClientTLSConfig contains the client TLS configuration.
DiscoveryPolicy defines policy for discovery.
EndpointConfig represents the endpoint configuration for the client.
EndpointConfigOptions represents EndpointConfig interface with overridable interface functions if a function is not overridden, the default EndpointConfig implementation will be used.
EventServicePolicy specifies the policy for the event service.
MatchConfig contains match pattern and substitution pattern for pattern matching of network configured hostnames or channel names with static config.
OrdererConfig defines an orderer configuration.
OrganizationConfig provides the definition of an organization in the network.
PeerChannelConfig defines the peer capabilities.
PeerConfig defines a peer configuration.
QueryChannelConfigPolicy defines opts for channelConfigBlock.
SelectionPolicy defines policy for selection.

# Type aliases

BalancerType is the load-balancer type.
SelectionSortingStrategy is the endorser selection sorting strategy.