config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Profile           string        `mapstructure:"profile"`
	Pretty            bool          `mapstructure:"pretty"`
	Verbose           bool          `mapstructure:"verbose"`
	Timeout           time.Duration `mapstructure:"timeout"`
	MaxRetries        int           `mapstructure:"max_retries"`
	RetryMutations    bool          `mapstructure:"retry_mutations"`
	PairingServiceURL string        `mapstructure:"pairing_service_url"`
}

Config holds all non-secret CLI configuration.

func Load

func Load() Config

Load reads configuration from file, environment, and defaults. Precedence: env vars > config file > defaults.

Jump to

Keyboard shortcuts

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