note

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelListNote

type ModelListNote struct {
	Width                     int
	Height                    int
	ProjectId                 string
	ProjectPickerLastTabIndex int
	Session                   *ssh.Session
	// contains filtered or unexported fields
}

func NewModelListNote

func NewModelListNote(session *ssh.Session, lfi *constant.ListNoteInput) (*ModelListNote, error)

func (ModelListNote) Init

func (m ModelListNote) Init() tea.Cmd

func (ModelListNote) Update

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

func (ModelListNote) View

func (m ModelListNote) View() string

type ModelMakeNote

type ModelMakeNote struct {
	Width                     int
	Height                    int
	ProjectId                 string
	NoteId                    string
	ProjectPickerLastTabIndex int
	Session                   *ssh.Session
	// contains filtered or unexported fields
}

func NewModelMakeNote

func NewModelMakeNote(session *ssh.Session, mfi *constant.MakeNoteInput) (*ModelMakeNote, error)

func (ModelMakeNote) Init

func (m ModelMakeNote) Init() tea.Cmd

func (ModelMakeNote) Update

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

func (ModelMakeNote) View

func (m ModelMakeNote) View() string

type ModelViewNote added in v0.2.1

type ModelViewNote struct {
	Width                     int
	Height                    int
	ProjectId                 string
	NoteId                    string
	ProjectPickerLastTabIndex int
	Session                   *ssh.Session
	// contains filtered or unexported fields
}

func NewModelViewNote added in v0.2.1

func NewModelViewNote(session *ssh.Session, mfi *constant.ViewNoteInput) (*ModelViewNote, error)

func (ModelViewNote) Init added in v0.2.1

func (m ModelViewNote) Init() tea.Cmd

func (ModelViewNote) Update added in v0.2.1

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

func (ModelViewNote) View added in v0.2.1

func (m ModelViewNote) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳