fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/fabsdk/api Index | Files

package api

import "github.com/hyperledger/fabric-sdk-go/pkg/fabsdk/api"

Index

Package Files

factory.go

type CoreProviderFactory Uses

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 Uses

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 Uses

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

Providers represents the SDK configured providers context.

type ServiceProviderFactory Uses

type ServiceProviderFactory interface {
    CreateLocalDiscoveryProvider(config fab.EndpointConfig) (fab.LocalDiscoveryProvider, error)
    CreateChannelProvider(config fab.EndpointConfig, opts ...options.Opt) (fab.ChannelProvider, error)
}

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

Package api imports 4 packages (graph) and is imported by 1 packages. Updated 2019-03-11. Refresh now. Tools for package owners.