fabapi

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package fabapi is deprecated and will be removed - see pkg/fabsdk

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSDK

func NewSDK(options Options) (*fabsdk.FabricSDK, error)

NewSDK wraps the NewSDK func moved to the pkg folder. Notice: this wrapper is deprecated and will be removed.

Types

type Options

type Options struct {
	// Quick access options
	ConfigFile string
	ConfigByte []byte
	ConfigType string

	// Options for default providers
	StateStoreOpts StateStoreOpts

	// Factories to create clients and providers
	CoreFactory    apisdk.CoreProviderFactory
	ServiceFactory apisdk.ServiceProviderFactory
	ContextFactory apisdk.OrgClientFactory
	SessionFactory apisdk.SessionClientFactory
	LoggerFactory  apilogging.LoggerProvider
}

Options is a wrapper configuration for the SDK Notice: this wrapper is deprecated and will be removed.

type StateStoreOpts

type StateStoreOpts struct {
	Path string
}

StateStoreOpts provides setup parameters for KeyValueStore

Jump to

Keyboard shortcuts

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