defmsp

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderFactory

type ProviderFactory struct {
}

ProviderFactory represents the default MSP provider factory.

func NewProviderFactory

func NewProviderFactory() *ProviderFactory

NewProviderFactory returns the default MSP provider factory.

func (*ProviderFactory) CreateIdentityManagerProvider

func (f *ProviderFactory) CreateIdentityManagerProvider(config core.Config, cryptoProvider core.CryptoSuite, userStore msp.UserStore) (msp.IdentityManagerProvider, error)

CreateIdentityManagerProvider returns a new default implementation of MSP provider

func (*ProviderFactory) CreateUserStore

func (f *ProviderFactory) CreateUserStore(config core.Config) (msp.UserStore, error)

CreateUserStore creates a UserStore using the SDK's default implementation

Jump to

Keyboard shortcuts

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