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

# Functions

NewChannel creates new channel context client Not be used by end developers, fabsdk package use only.
NewLocal returns a new local context.
NewProvider creates new context client provider Not be used by end developers, fabsdk package use only.
NewRequest creates a request-scoped context.
RequestClientContext extracts the Client Context from the request-scoped context.
RequestCommManager extracts the CommManager from the request-scoped context.
WithChannelProvider sets channelProvider to Context Provider.
WithClientMetrics sets clientMetrics to Context Provider.
WithCryptoSuite sets cryptosuite parameter to Context Provider.
WithCryptoSuiteConfig sets core cryptoSuite config to Context Provider.
WithEndpointConfig sets fab endpoint network config to Context Provider.
WithIdentityConfig sets msp identity config to Context Provider.
WithIdentityManagerProvider sets IdentityManagerProvider maps to context.
WithInfraProvider sets infraProvider maps to Context Provider.
WithLocalDiscoveryProvider sets the local discovery provider.
WithParent sets existing reqContext as a parent ReqContext.
WithSigningManager sets signingManager to Context Provider.
WithTimeout sets timeout time duration to request context.
WithTimeoutType sets timeout by type defined in config to request context.
WithUserStore sets user store to Context Provider.

# Variables

ReqContextTimeoutOverrides key for grpc context value of timeout overrides.

# Structs

Channel supplies the configuration for channel context client.
Client supplies the configuration and signing identity to client objects.
Local supplies the configuration and signing identity to clients that will be invoking the peer outside of a channel context using an identity in the peer's local MSP.
Provider implementation of Providers interface.

# Type aliases

ReqContextOptions parameter for creating requestContext.
SDKContextParams parameter for creating FabContext.