component

package
v0.0.0-...-0202b1c Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

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

func NewConfigurationFromPreferences

func NewConfigurationFromPreferences(prefs fyne.Preferences) *Configuration

func (*Configuration) Fields

func (c *Configuration) Fields() map[string]string

func (*Configuration) IMAP

func (c *Configuration) IMAP() *mstore.IMAPConfig

func (*Configuration) Load

func (c *Configuration) Load()

func (*Configuration) SMTP

func (c *Configuration) SMTP() *msend.SSLSMTPConfig

func (*Configuration) Set

func (c *Configuration) Set(key, value string)

func (*Configuration) Sqlite

func (c *Configuration) Sqlite() *storage.SqliteConfig

type Logger

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

func NewLogger

func NewLogger() *Logger

func (*Logger) Lines

func (l *Logger) Lines() []string

func (*Logger) Log

func (l *Logger) Log(line string)

type Tasks

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

func NewTasks

func NewTasks(conf *Configuration, tasks []*task.Task) *Tasks

func (*Tasks) Add

func (t *Tasks) Add(fields map[string]string) error

func (*Tasks) All

func (t *Tasks) All() ([]*task.Task, error)

func (*Tasks) MarkDone

func (t *Tasks) MarkDone(id string) error

func (*Tasks) Sync

func (t *Tasks) Sync() (int, int, error)

func (*Tasks) Today

func (t *Tasks) Today() (map[string]string, error)

func (*Tasks) Update

func (t *Tasks) Update(id, newDue string) error

Jump to

Keyboard shortcuts

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