types

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeCfg

type NodeCfg struct {
	ID                       string                       `description:"Node ID. Defaults to local hostname." barevalue:"yes"`
	DataDir                  string                       `description:"Directory in which to store node data" default:"/tmp/receptor"`
	FirewallRules            []netceptor.FirewallRuleData `description:"Firewall Rules (see documentation for syntax)"`
	MaxIdleConnectionTimeout string                       `description:"Max duration with no traffic before a backend connection is timed out and refreshed."`
}

func (NodeCfg) Init

func (cfg NodeCfg) Init() error

func (NodeCfg) Run

func (cfg NodeCfg) Run() error

Jump to

Keyboard shortcuts

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