config

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Module for fx.
	Module = fx.Options(
		fx.Provide(NewConfigurator),
		config.UnmarshalModule,
		config.ConfigModule,
		config.WatchModule,
		fx.Provide(healthConfig),
		fx.Provide(generatorConfig),
		fx.Provide(mapperConfig),
	)
)

Functions

func NewConfigurator

func NewConfigurator() config.Configurator

NewConfigurator for config.

Types

type Config

type Config struct {
	Health        health.Config    `yaml:"health"`
	Generator     generator.Config `yaml:"generator"`
	Mapper        mapper.Config    `yaml:"mapper"`
	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