dynamicconfigfx

package
v1.4.2-prerelease13 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(fx.Provide(New))

Module provides fx options for dynamic config initialization

Functions

This section is empty.

Types

type Params

type Params struct {
	fx.In

	Cfg           config.Config
	Logger        log.Logger
	MetricsClient metrics.Client
	RootDir       string `name:"root-dir"`

	Lifecycle fx.Lifecycle
}

Params required to build a new dynamic config.

type Result added in v1.3.1

type Result struct {
	fx.Out

	Client                   dynamicconfig.Client
	Collection               *dynamicconfig.Collection
	OperationalConfigStore   configstore.Client        `name:"operational-config-store"`
	OperationalDynamicConfig *dynamicconfig.Collection `name:"operational-dynamic-config"`
}

func New

func New(p Params) Result

New creates dynamicconfig.Client from the configuration

Jump to

Keyboard shortcuts

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