defsvc

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 25

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 SDK provider factory for services.

func NewProviderFactory

func NewProviderFactory() *ProviderFactory

NewProviderFactory returns the default SDK provider factory for services.

func (*ProviderFactory) CreateChannelProvider

func (f *ProviderFactory) CreateChannelProvider(config fab.EndpointConfig, opts ...options.Opt) (fab.ChannelProvider, error)

CreateChannelProvider returns a new default implementation of channel provider

func (*ProviderFactory) CreateLocalDiscoveryProvider

func (f *ProviderFactory) CreateLocalDiscoveryProvider(config fab.EndpointConfig) (fab.LocalDiscoveryProvider, error)

CreateLocalDiscoveryProvider returns a static local discovery provider. This should be changed to use the dynamic provider when Fabric 1.1 is no longer supported

Source Files

Jump to

Keyboard shortcuts

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