config

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Unlicense Imports: 6 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(v1SourceConfig),
		fx.Provide(clientConfig),
		fx.Provide(healthConfig),
	)
)

Functions

func NewConfigurator

func NewConfigurator() config.Configurator

NewConfigurator for config.

Types

type Config

type Config struct {
	Server        server.Config `yaml:"server"`
	Client        client.Config `yaml:"client"`
	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