peerprovider

package
v1.2.13-prerelease01 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(configKey string, constructor constructorFn) error

Types

type Container

type Container struct {
	Service string
	// Channel is required by ringpop
	Channel tchannel.Channel
	Logger  log.Logger
	Portmap membership.PortMap
}

Container is passed to peer provider plugin

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func New

func New(config config.PeerProvider, container Container) *Provider

func (*Provider) Provider

func (p *Provider) Provider() (membership.PeerProvider, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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