connection

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSubModel

func NewSubModel(inputs *newSubInputs) newSubModel

Types

type Data

type Data struct {
	Id           string // UUID used to store subscriptions for persistence
	Name         string
	Broker       string
	Port         int
	ClientId     string
	Username     string
	Password     string
	UseTls       bool
	Authenticate bool
	KeyFilePath  string
	CertFilePath string
	CaFilePath   string
}

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel(data Data) Model

func (Model) Data

func (m Model) Data() Data

func (Model) Description

func (m Model) Description() string

func (Model) FilterValue

func (m Model) FilterValue() string

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Title

func (m Model) Title() string

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

type NewSubMsg

type NewSubMsg subscription.Model

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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