defaults

package
v0.0.0-...-429d078 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Define

func Define() defaultParameters

Defines defaults for the all platforms.

func Genconf

func Genconf(isjson bool) string

func GenerateConfig

func GenerateConfig() *config.NodeConfig

Generates default configuration and returns a pointer to the resulting NodeConfig. This is used when outputting the -genconf parameter and also when using -autoconf.

func GetDefaults

func GetDefaults() platformDefaultParameters

func GetHttpEndpoint

func GetHttpEndpoint(defaultEndpoint string) string

func ReadConfig

func ReadConfig(useconffile string) (*config.NodeConfig, error)

func WriteConfig

func WriteConfig(confFn string, cfg *config.NodeConfig) error

Types

type MulticastInterfaceConfig

type MulticastInterfaceConfig = config.MulticastInterfaceConfig

type NetworkDomainConfig

type NetworkDomainConfig = config.NetworkDomainConfig

Jump to

Keyboard shortcuts

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