Documentation ¶
Index ¶
- Constants
- func RunCreateMorenoteCommand(publicKey ssh.PublicKey, title string, content string) tea.Cmd
- func RunCreateNoteCommand(publicKey ssh.PublicKey, title string, content string) tea.Cmd
- func RunCreateUserCommand(name string, email string, publicKey ssh.PublicKey, authLevel string, ...) tea.Cmd
- func RunDeleteMorenoteCommand(publicKey ssh.PublicKey, id int64) tea.Cmd
- func RunDeleteNoteCommand(publicKey ssh.PublicKey, id int64) tea.Cmd
- func RunUpdateMorenoteCommand(publicKey ssh.PublicKey, id int64, title string, content string) tea.Cmd
- func RunUpdateNoteCommand(publicKey ssh.PublicKey, id int64, title string, content string) tea.Cmd
- func RunUpdateUserRoleCommand(publicKey ssh.PublicKey, authLevel string, redirectIndex int) tea.Cmd
- func SendMorenoteReload() tea.Cmd
- func SendNoteReload() tea.Cmd
- func SendRedirect(index int) tea.Cmd
- type RedirectMessage
- type ReloadMorenoteMessage
- type ReloadNoteMessage
- type UpdateMessage
Constants ¶
View Source
const SqlDbLoc = "db.db"
Variables ¶
This section is empty.
Functions ¶
func RunCreateNoteCommand ¶
func RunCreateUserCommand ¶
func RunUpdateNoteCommand ¶
func SendMorenoteReload ¶
func SendNoteReload ¶
func SendRedirect ¶
Types ¶
type RedirectMessage ¶
type RedirectMessage struct {
Tab int
}
type ReloadMorenoteMessage ¶
type ReloadMorenoteMessage struct{}
type ReloadNoteMessage ¶
type ReloadNoteMessage struct{}
Click to show internal directories.
Click to hide internal directories.