config

package
v0.2024.5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HubModeRemote = "remote" // default
	HubModeLocal  = "local"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Root

type Root struct {
	system.Config

	// Ignore contains a list of enrolled host:port that we should not proxy.
	// Useful if you setup more than one proxy enrolled with the same hub.
	// This controller will always ignore it's own endpoint.
	Ignore []string `json:"ignore,omitempty"`

	// HubMode dictates how the proxy should connect to the hub. This will be "remote" for systems where the proxy is
	// not running on the same host as the hub (default behaviour), and "local" where the proxy is also the hub.
	HubMode string `json:"hubMode,omitempty"`
}

Jump to

Keyboard shortcuts

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