config

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

internal/config/config.go - Version corrigée

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port            string
	DatabaseURL     string
	JobTimeout      time.Duration
	CleanupInterval time.Duration
	LogLevel        string
	Environment     string
	Storage         *storage.StorageConfig
	Worker          *WorkerConfig
}

func Load

func Load() *Config

type WorkerConfig

type WorkerConfig struct {
	WorkerCount      int
	PollInterval     time.Duration
	WorkspaceBase    string
	SlidevCommand    string
	CleanupWorkspace bool
	MaxWorkspaceAge  time.Duration
}

Jump to

Keyboard shortcuts

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