Documentation ¶
Index ¶
- type CustomCoreFactory
- func (f *CustomCoreFactory) CreateCryptoSuiteProvider(config core.Config) (core.CryptoSuite, error)
- func (f *CustomCoreFactory) CreateInfraProvider(config core.Config) (fab.InfraProvider, error)
- func (f *CustomCoreFactory) CreateSigningManager(cryptoProvider core.CryptoSuite, config core.Config) (core.SigningManager, error)
- type CustomMSPFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomCoreFactory ¶
type CustomCoreFactory struct {
// contains filtered or unexported fields
}
CustomCoreFactory is a custom factory for tests.
func NewCustomCoreFactory ¶
func NewCustomCoreFactory(customCryptoSuite core.CryptoSuite) *CustomCoreFactory
NewCustomCoreFactory creates a new instance of customCoreFactory
func (*CustomCoreFactory) CreateCryptoSuiteProvider ¶
func (f *CustomCoreFactory) CreateCryptoSuiteProvider(config core.Config) (core.CryptoSuite, error)
CreateCryptoSuiteProvider creates custom crypto provider
func (*CustomCoreFactory) CreateInfraProvider ¶
func (f *CustomCoreFactory) CreateInfraProvider(config core.Config) (fab.InfraProvider, error)
CreateInfraProvider creates InfraProvider
func (*CustomCoreFactory) CreateSigningManager ¶
func (f *CustomCoreFactory) CreateSigningManager(cryptoProvider core.CryptoSuite, config core.Config) (core.SigningManager, error)
CreateSigningManager creates SigningManager
type CustomMSPFactory ¶
type CustomMSPFactory struct {
// contains filtered or unexported fields
}
CustomMSPFactory is a custom factory for tests.
func NewCustomMSPFactory ¶
func NewCustomMSPFactory(customUserStore msp.UserStore) *CustomMSPFactory
NewCustomMSPFactory creates a custom MSPFactory
func (*CustomMSPFactory) CreateIdentityManagerProvider ¶
func (f *CustomMSPFactory) CreateIdentityManagerProvider(config core.Config, cryptoProvider core.CryptoSuite, userStore msp.UserStore) (msp.IdentityManagerProvider, error)
CreateIdentityManagerProvider creates an IdentityManager provider
func (*CustomMSPFactory) CreateUserStore ¶
CreateUserStore creates UserStore
Click to show internal directories.
Click to hide internal directories.