config

package
v1.58.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Module for fx.
	Module = fx.Options(ConfiguratorModule, config.UnmarshalModule, ConfigModule)

	// ConfiguratorModule for fx.
	ConfiguratorModule = fx.Provide(NewConfigurator)

	// ConfigModule for fx.
	ConfigModule = fx.Options(
		config.ConfigModule,
		fx.Provide(healthConfig),
	)
)

Functions

func NewConfigurator

func NewConfigurator() config.Configurator

NewConfigurator for config.

Types

type Config

type Config struct {
	Health        health.Config `yaml:"health"`
	config.Config `yaml:",inline"`
}

Config for the service.

Jump to

Keyboard shortcuts

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