config

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: MIT Imports: 3 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 {
	Port     int      `yaml:"port"`
	AuthDir  string   `yaml:"auth_dir"`
	Debug    bool     `yaml:"debug"`
	ProxyUrl string   `yaml:"proxy-url"`
	ApiKeys  []string `yaml:"api_keys"`
}

Config represents the application's configuration

func LoadConfig

func LoadConfig(configFile string) (*Config, error)

/ LoadConfig loads the configuration from the specified file

Jump to

Keyboard shortcuts

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