Documentation ¶
Overview ¶
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
Notice: This file has been modified for Hyperledger Fabric SDK Go usage. Please review third_party pinning scripts and patches for more details.
Index ¶
Constants ¶
View Source
const (
// PluginFactoryName is the factory name for BCCSP plugins
PluginFactoryName = "PLUGIN"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginFactory ¶
type PluginFactory struct{}
PluginFactory is the factory for BCCSP plugins
func (*PluginFactory) Get ¶
func (f *PluginFactory) Get(pluginOpts *PluginOpts) (bccsp.BCCSP, error)
Get returns an instance of BCCSP using Opts.
func (*PluginFactory) Name ¶
func (f *PluginFactory) Name() string
Name returns the name of this factory
type PluginOpts ¶
type PluginOpts struct { // Path to plugin library Library string // Config map for the plugin library Config map[string]interface{} }
PluginOpts contains the options for the PluginFactory
Click to show internal directories.
Click to hide internal directories.