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

# Functions

BadTLSClientMockConfig returns a mock config for testing with TLSClientCerts() that always returns an error.
CustomMockConfig returns a custom mock config with custom certpool for testing.
DefaultMockConfig returns a default mock config for testing.
NewMockEndpointConfig creates a new mock instance.
NewMockProposalProcessor creates a new mock instance.
NewMockProviders creates a new mock instance.

# Constants

ErrorMessage is a mock error message.

# Variables

BadCert is a mock of a bad certificate.
CertPool is a mock of a *x509.CertPool.
GoodCert is a mock of a good certificate.
TLSCert is a mock of a tls.Certificate{}.

# Structs

MockCertPool for unit tests to mock CertPool.
MockEndpointConfig is a mock of EndpointConfig interface.
MockEndpointConfigMockRecorder is the mock recorder for MockEndpointConfig.
MockProposalProcessor is a mock of ProposalProcessor interface.
MockProposalProcessorMockRecorder is the mock recorder for MockProposalProcessor.
MockProviders is a mock of Providers interface.
MockProvidersMockRecorder is the mock recorder for MockProviders.