api

package
v1.0.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.CryptoSuiteConfig) (core.CryptoSuite, error)
	CreateSigningManager(cryptoProvider core.CryptoSuite) (core.SigningManager, error)
	CreateInfraProvider(config fab.EndpointConfig) (fab.InfraProvider, error)
}

CoreProviderFactory allows overriding of primitives and the fabric core object provider

type MSPProviderFactory

type MSPProviderFactory interface {
	CreateUserStore(config msp.IdentityConfig) (msp.UserStore, error)
	CreateIdentityManagerProvider(config fab.EndpointConfig, 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 {
	CreateLocalDiscoveryProvider(config fab.EndpointConfig) (fab.LocalDiscoveryProvider, error)
	CreateChannelProvider(config fab.EndpointConfig) (fab.ChannelProvider, 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