defsvc

package
v0.0.1-bate.9 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 4 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 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

Jump to

Keyboard shortcuts

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