config

package
v0.126.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 3 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),
)

Module for fx.

Functions

func IsEnabled added in v0.10.2

func IsEnabled(cfg *Config) bool

IsEnabled for config.

Types

type Config

type Config struct {
	*config.Config `yaml:",inline" json:",inline" toml:",inline"`
}

Config for the client.

func NewConfig

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

NewConfig for config.

Jump to

Keyboard shortcuts

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