Documentation ¶
Index ¶
- func NewLoggerProvider() apilogging.LoggerProvider
- type ProviderFactory
- func (f *ProviderFactory) NewCryptoSuiteProvider(config apiconfig.Config) (apicryptosuite.CryptoSuite, error)
- func (f *ProviderFactory) NewFabricProvider(context fab.ProviderContext) (api.FabricProvider, error)
- func (f *ProviderFactory) NewSigningManager(cryptoProvider apicryptosuite.CryptoSuite, config apiconfig.Config) (fab.SigningManager, error)
- func (f *ProviderFactory) NewStateStoreProvider(config apiconfig.Config) (kvstore.KVStore, error)
- type StateStoreOptsDeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoggerProvider ¶
func NewLoggerProvider() apilogging.LoggerProvider
NewLoggerProvider returns a new default implementation of a logger backend This function is separated from the factory to allow logger creation first.
Types ¶
type ProviderFactory ¶
type ProviderFactory struct {
// contains filtered or unexported fields
}
ProviderFactory represents the default SDK provider factory.
func NewProviderFactory ¶
func NewProviderFactory() *ProviderFactory
NewProviderFactory returns the default SDK provider factory.
func NewProviderFactoryDeprecated ¶
func NewProviderFactoryDeprecated(stateStoreOpts StateStoreOptsDeprecated) *ProviderFactory
NewProviderFactoryDeprecated returns the default SDK provider factory.
func (*ProviderFactory) NewCryptoSuiteProvider ¶
func (f *ProviderFactory) NewCryptoSuiteProvider(config apiconfig.Config) (apicryptosuite.CryptoSuite, error)
NewCryptoSuiteProvider returns a new default implementation of BCCSP
func (*ProviderFactory) NewFabricProvider ¶
func (f *ProviderFactory) NewFabricProvider(context fab.ProviderContext) (api.FabricProvider, error)
NewFabricProvider returns a new default implementation of fabric primitives
func (*ProviderFactory) NewSigningManager ¶
func (f *ProviderFactory) NewSigningManager(cryptoProvider apicryptosuite.CryptoSuite, config apiconfig.Config) (fab.SigningManager, error)
NewSigningManager returns a new default implementation of signing manager
func (*ProviderFactory) NewStateStoreProvider ¶
NewStateStoreProvider creates a KeyValueStore using the SDK's default implementation
type StateStoreOptsDeprecated ¶
type StateStoreOptsDeprecated struct {
Path string
}
StateStoreOptsDeprecated provides setup parameters for KeyValueStore