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

package defcore

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

Index

Package Files

corefactory.go

func NewLoggerProvider Uses

func NewLoggerProvider() api.LoggerProvider

NewLoggerProvider returns a new default implementation of a logger backend This function is separated from the factory to allow logger creation first.

type ProviderFactory Uses

type ProviderFactory struct {
}

ProviderFactory represents the default SDK provider factory.

func NewProviderFactory Uses

func NewProviderFactory() *ProviderFactory

NewProviderFactory returns the default SDK provider factory.

func (*ProviderFactory) CreateCryptoSuiteProvider Uses

func (f *ProviderFactory) CreateCryptoSuiteProvider(config core.CryptoSuiteConfig) (core.CryptoSuite, error)

CreateCryptoSuiteProvider returns a new default implementation of BCCSP

func (*ProviderFactory) CreateInfraProvider Uses

func (f *ProviderFactory) CreateInfraProvider(config fab.EndpointConfig) (fab.InfraProvider, error)

CreateInfraProvider returns a new default implementation of fabric primitives

func (*ProviderFactory) CreateSigningManager Uses

func (f *ProviderFactory) CreateSigningManager(cryptoProvider core.CryptoSuite) (core.SigningManager, error)

CreateSigningManager returns a new default implementation of signing manager

Package defcore imports 8 packages (graph) and is imported by 1 packages. Updated 2018-10-02. Refresh now. Tools for package owners.