config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 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 {
	Server   ServerConfig
	Database DatabaseConfig
	Logging  LoggingConfig
}

func LoadConfig

func LoadConfig() (*Config, error)

type DatabaseConfig

type DatabaseConfig struct {
	Host     string
	Port     int
	Username string
	Password string
	Database string
}

type LoggingConfig

type LoggingConfig struct {
	Level     string
	FxDebug   bool
	FxVerbose bool
	ShowGraph bool
	FxEnabled bool // Enable/disable fx logging completely
}

type ServerConfig

type ServerConfig struct {
	Port int
	Host string
}

Jump to

Keyboard shortcuts

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