config

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPort = 3055

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port        int
	ServerHost  string
	IdleTimeout time.Duration // 0 = never auto-shutdown
}

Config holds all configuration values for the application.

func Load

func Load() *Config

Load reads configuration from environment variables with sensible defaults.

Jump to

Keyboard shortcuts

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