handler_ctrl

package
v0.17.29 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 22 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.Channel2Xctrl,
	ctrlAddressChanger CtrlAddressChanger,
	closeNotify chan struct{}) channel2.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