config

package
v1.110.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Provide(NewConfig),
	config.Module,
	fx.Decorate(decorateConfig),
	fx.Provide(v1Client), fx.Provide(v1AuthClientConfig),
	fx.Provide(sourceConfig), fx.Provide(healthConfig),
)

Module for fx.

Functions

This section is empty.

Types

type Config

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

Config for the service.

func NewConfig added in v1.107.0

func NewConfig(i *cmd.InputConfig) (*Config, error)

NewConfigurator for config.

Jump to

Keyboard shortcuts

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