config

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorManager added in v0.0.7

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

func NewColorManager added in v0.0.7

func NewColorManager() (*ColorManager, error)

func (*ColorManager) Close added in v0.0.7

func (cm *ColorManager) Close() error

func (*ColorManager) ColorChanges added in v0.0.7

func (cm *ColorManager) ColorChanges() <-chan struct{}

func (*ColorManager) GetPalette added in v0.0.7

func (cm *ColorManager) GetPalette() *models.ColorPalette

type Config

type Config struct {
	ApiPort string `env:"API_PORT" envDefault:":63484"` // Default port for the API server
}

func NewConfig

func NewConfig() *Config

Parse environment variables into a Config struct

Jump to

Keyboard shortcuts

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