config

package
v1.56.4 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Module for fx.
	Module = fx.Options(
		fx.Provide(NewConfigurator),
		marshaller.Module,
		config.ConfigModule,
		fx.Provide(v1Client),
		fx.Provide(sourceConfig),
		fx.Provide(healthConfig),
	)
)

Functions

func NewConfigurator

func NewConfigurator(i *cmd.InputConfig) (config.Configurator, error)

NewConfigurator for config.

Types

type Config

type Config struct {
	Source        source.Config `yaml:"source" json:"source" toml:"source"`
	Client        client.Config `yaml:"client" json:"client" toml:"client"`
	Health        health.Config `yaml:"health" json:"health" toml:"health"`
	config.Config `yaml:",inline" json:",inline" toml:",inline"`
}

Config for the service.

Jump to

Keyboard shortcuts

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