handler_ctrl

package
v0.17.105 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBindHandler

func NewBindHandler(id *identity.TokenId,
	dialerCfg map[string]xgress.OptionsData,
	xlinkDialers []xlink.Dialer,
	ctrl xgress.CtrlChannel,
	forwarder *forwarder.Forwarder,
	xctrls []xctrl.Xctrl,
	ctrlAddressChanger CtrlAddressChanger,
	traceHandler *channel.TraceHandler,
	linkRegistry xlink.Registry,
	closeNotify chan struct{}) channel.BindHandler

Types

type CtrlAddressChanger added in v0.17.26

type CtrlAddressChanger interface {
	CreateBackup() (string, error)
	UpdateControllerEndpoint(address string) error
	Save() error
	CurrentCtrlAddress() string
}

CtrlAddressChanger provides indirect access to underlying configuration without creating import loops w/ *router.Config.

Jump to

Keyboard shortcuts

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