package
0.0.0-20200522083413-1ee6361e1744
Repository: https://github.com/mifanteddy/fabric-sdk-go-gm.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

# Functions

New initializes the SDK based on the set of options provided.
WithCorePkg injects the core implementation into the SDK.
WithCryptoSuiteConfig injects a CryptoSuiteConfig interface to the SDK it accepts either a full interface of CryptoSuiteConfig or a list of sub interfaces each implementing one (or more) function(s) of CryptoSuiteConfig.
WithEndpointConfig injects a EndpointConfig interface to the SDK it accepts either a full interface of EndpointConfig or a list of sub interfaces each implementing one (or more) function(s) of EndpointConfig.
WithErrorHandler sets an error handler that will be invoked when a service error is experienced.
WithIdentity uses a pre-constructed identity object as the credential for the session.
WithIdentityConfig injects a IdentityConfig interface to the SDK it accepts either a full interface of IdentityConfig or a list of sub interfaces each implementing one (or more) function(s) of IdentityConfig.
WithLoggerPkg injects the logger implementation into the SDK.
WithMetricsConfig injects a MetricsConfig interface to the SDK it accepts either a full interface of MetricsConfig or a list of sub interfaces each implementing one (or more) function(s) of MetricsConfig.
WithMSPPkg injects the MSP implementation into the SDK.
WithOrg uses the named organization.
WithProviderOpts adds options which are propagated to the various providers.
WithServicePkg injects the service implementation into the SDK.
WithUser uses the named user to load the identity.

# Variables

ErrAnonymousIdentity is returned when options for identity creation don't include neither username nor identity.

# Structs

FabricSDK provides access (and context) to clients being managed by the SDK.

# Type aliases

ContextOption provides parameters for creating a session (primarily from a fabric identity/user).
Option configures the SDK.