localprovider

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	defsvc.ProviderFactory
	LocalPeer           *api.PeerConfig
	LocalPeerTLSCertPem []byte
}

Factory is configured with local provider

func (*Factory) CreateLocalDiscoveryProvider added in v0.2.0

func (l *Factory) CreateLocalDiscoveryProvider(config fabApi.EndpointConfig) (fabApi.LocalDiscoveryProvider, error)

CreateLocalDiscoveryProvider returns a new implementation of a dynamic discovery provider that always returns the local peer

Jump to

Keyboard shortcuts

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