broker

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoordClientBrokerWrapper

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

func NewCoordClientWrapper

func NewCoordClientWrapper(coordClient coordinating.CoordClient) CoordClientBrokerWrapper

func (CoordClientBrokerWrapper) AddBroker

func (t CoordClientBrokerWrapper) AddBroker(host string) error

func (CoordClientBrokerWrapper) GetBroker

func (t CoordClientBrokerWrapper) GetBroker(name string) (string, error)

func (CoordClientBrokerWrapper) GetBrokers

func (t CoordClientBrokerWrapper) GetBrokers() ([]string, error)

func (CoordClientBrokerWrapper) WatchBrokersPathChanged

func (t CoordClientBrokerWrapper) WatchBrokersPathChanged(ctx context.Context) (chan []string, error)

WatchBrokersPathChanged : register a watcher on children changed and retrieve updated brokers

Jump to

Keyboard shortcuts

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