config

package
v0.8.83 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: AGPL-3.0, AGPL-3.0-or-later, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JSONFormat logFormat = "json"
	TextFormat logFormat = "text"
)

Variables

This section is empty.

Functions

func Config

func Config() config

func IsNetworkPinned added in v0.8.77

func IsNetworkPinned() bool

IsNetworkPinned reports whether the operator set the network explicitly (flag or env).

func SetNetwork added in v0.8.77

func SetNetwork(network string)

SetNetwork re-points the config at another known network. Call before the node starts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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