config

package
v0.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// TUI defines settings for the interactive browser.
	TUI TUIConfig `yaml:"tui"`
}

Config defines the structure for 'hooks' configuration in grove.yml.

type TUIConfig

type TUIConfig struct {
	// CacheEnabled controls whether the TUI caches session data.
	// Set to false during development to see real-time changes. Defaults to true.
	CacheEnabled *bool `yaml:"cache_enabled"`

	// CacheTTLSeconds controls how long the cache is valid in seconds.
	// Lower values give more real-time updates. Defaults to 60 seconds.
	// Set to 2-5 for development to get near-realtime updates with good performance.
	CacheTTLSeconds *int `yaml:"cache_ttl_seconds"`
}

TUIConfig defines settings for the TUI.

Jump to

Keyboard shortcuts

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