Documentation ¶ Index ¶ type Model func NewModel(zones *zone.Manager, values []Value, saver Saver) Model func (m Model) Init() tea.Cmd func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (m Model) View() string type Saver type Type type Value type Values Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Model ¶ type Model struct { ui.MenuBase // contains filtered or unexported fields } func NewModel ¶ func NewModel(zones *zone.Manager, values []Value, saver Saver) Model func (Model) Init ¶ func (m Model) Init() tea.Cmd func (Model) Update ¶ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (Model) View ¶ func (m Model) View() string type Saver ¶ type Saver func([]Value) error type Type ¶ type Type int const ( Bool Type = iota Int Type = iota String Type = iota Float Type = iota ) type Value ¶ type Value struct { Key string Name string Description string Type Type Val any Min any Max any } type Values ¶ type Values []Value Source Files ¶ View all Source files settings.go value.go Click to show internal directories. Click to hide internal directories.