handler_ctrl

package
v0.19.63 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBindHandler

func NewBindHandler(routerEnv env.RouterEnv, forwarder *forwarder.Forwarder, ctrlAddressChanger CtrlAddressChanger) 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