Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CustomCorePkg ¶
type CustomCorePkg struct { defcore.ProviderFactory ProviderName string }
CustomCorePkg is will provide custom sdk core pkg
func (*CustomCorePkg) CreateCryptoSuiteProvider ¶
func (f *CustomCorePkg) CreateCryptoSuiteProvider(config core.CryptoSuiteConfig) (core.CryptoSuite, error)
CreateCryptoSuiteProvider returns a implementation of factory default bccsp cryptosuite
func (*CustomCorePkg) CreateInfraProvider ¶
func (f *CustomCorePkg) CreateInfraProvider(config fab.EndpointConfig) (fab.InfraProvider, error)
CreateInfraProvider returns a new custom implementation of fabric primitives
type CustomInfraProvider ¶
type CustomInfraProvider struct {
*fabpvdr.InfraProvider
}
CustomInfraProvider is will provide custom fabric primitives
func (*CustomInfraProvider) CreateEventService ¶
func (f *CustomInfraProvider) CreateEventService(ctx fab.ClientContext, channelID string, opts ...options.Opt) (fab.EventService, error)
CreateEventService will return nil because the txnsnap will use local event service
Source Files ¶
Click to show internal directories.
Click to hide internal directories.