api

package
v1.0.0-alpha3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreProviderFactory

type CoreProviderFactory interface {
	CreateCryptoSuiteProvider(config core.Config) (core.CryptoSuite, error)
	CreateSigningManager(cryptoProvider core.CryptoSuite, config core.Config) (core.SigningManager, error)
	CreateInfraProvider(config core.Config) (fab.InfraProvider, error)
}

CoreProviderFactory allows overriding of primitives and the fabric core object provider

type MSPProviderFactory

type MSPProviderFactory interface {
	CreateUserStore(config core.Config) (msp.UserStore, error)
	CreateIdentityManagerProvider(config core.Config, cryptoProvider core.CryptoSuite, userStore msp.UserStore) (msp.IdentityManagerProvider, error)
}

MSPProviderFactory allows overriding providers of MSP services

type Providers

type Providers interface {
	core.Providers
	msp.Providers
	fab.Providers
}

Providers represents the SDK configured providers context.

type ServiceProviderFactory

type ServiceProviderFactory interface {
	CreateDiscoveryProvider(config core.Config, fabPvdr fab.InfraProvider) (fab.DiscoveryProvider, error)
	CreateSelectionProvider(config core.Config) (fab.SelectionProvider, error)
}

ServiceProviderFactory allows overriding default service providers (such as peer discovery)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL