configwizard

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, addr, configFlag string) error

Types

type Form

type Form struct {
	Listen         string `json:"listen"`
	ListenAgent    string `json:"listen_agent"`
	URL            string `json:"url"`
	AgentEndpoint  string `json:"agent_endpoint"`
	WildcardDomain string `json:"wildcard_domain"`
	Timezone       string `json:"timezone"`

	NomadAddr   string `json:"nomad_addr"`
	NomadToken  string `json:"nomad_token"`
	NomadDC     string `json:"nomad_dc"`
	NomadRegion string `json:"nomad_region"`

	DockerHost string `json:"docker_host"`
	PodmanHost string `json:"podman_host"`

	DBType string `json:"db_type"`

	MySQLHost     string `json:"mysql_host"`
	MySQLPort     int    `json:"mysql_port"`
	MySQLUser     string `json:"mysql_user"`
	MySQLPassword string `json:"mysql_password"`
	MySQLDatabase string `json:"mysql_database"`

	RedisHosts    []string `json:"redis_hosts"`
	RedisPassword string   `json:"redis_password"`

	BadgerPath string `json:"badger_path"`

	EncryptionKey string `json:"encryption_key"`
	EnableMCP     bool   `json:"enable_mcp"`

	DNSEnabled bool   `json:"dns_enabled"`
	DNSListen  string `json:"dns_listen"`

	ChatEnabled bool   `json:"chat_enabled"`
	ChatType    string `json:"chat_type"`
	ChatAPIKey  string `json:"chat_api_key"`
	ChatBaseURL string `json:"chat_base_url"`
	ChatModel   string `json:"chat_model"`

	TunnelEnabled bool   `json:"tunnel_enabled"`
	TunnelListen  string `json:"tunnel_listen"`
	TunnelDomain  string `json:"tunnel_domain"`
	TunnelServer  string `json:"tunnel_server"`

	TotpEnabled bool   `json:"totp_enabled"`
	TotpIssuer  string `json:"totp_issuer"`

	EnableGravatar bool `json:"enable_gravatar"`
}

func DefaultForm

func DefaultForm() Form

Jump to

Keyboard shortcuts

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