setup

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyConfig

func ApplyConfig(si *instance.ServerInstance, newConf *config.Config,
	clients backends.Backends, hupFunc dr.Reloader, errorFunc func(),
	lg *listener.Group,
) error

func BootstrapConfig

func BootstrapConfig(args ...string) (*config.Config, backends.Backends, error)

BootstrapConfig loads, validates, processes and prepares a configuration along with its backend clients. This centralizes the common initialization logic used by both startup and reload operations.

func LoadAndValidate

func LoadAndValidate(args ...string) (*config.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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