config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(path string) (*config.Config, error)

Types

type Loader

type Loader struct {
	// contains filtered or unexported fields
}

func NewLoader

func NewLoader() *Loader

func (*Loader) Load

func (l *Loader) Load(path string) (*config.Config, error)

func (*Loader) LoadFromPath

func (l *Loader) LoadFromPath() (*config.Config, error)

func (*Loader) LoadFromPathOrDefault

func (l *Loader) LoadFromPathOrDefault() *config.Config

func (*Loader) SetExpandEnv

func (l *Loader) SetExpandEnv(expand bool)

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

func NewValidator

func NewValidator() *Validator

func (*Validator) SetCheckPaths

func (v *Validator) SetCheckPaths(check bool)

func (*Validator) Validate

func (v *Validator) Validate(cfg *config.Config) error

Jump to

Keyboard shortcuts

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