cmd

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxLogFileSize is the maximum size of log file before rotation (10MB)
	MaxLogFileSize = 10 * 1024 * 1024
)

Variables

View Source
var (
	Version = "dev"
	Commit  = ""
	Date    = ""
	BuiltBy = ""
)

Version variables set via ldflags during build

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately.

Types

type Config

type Config struct {
	Networks      []string // Docker networks to watch (e.g., ["roji", "custom"])
	BaseDomain    string
	HTTPPort      int
	HTTPSPort     int
	CertsDir      string
	AutoCert      bool
	DashboardHost string
	LogLevel      string
	DataDir       string              // Directory for persistent data (project history)
	StaticSites   []config.StaticSite // Static file hosting sites
	ConfigPath    string              // Path to config file (for reload)
}

Config holds the server configuration

Jump to

Keyboard shortcuts

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