Documentation
¶
Index ¶
- func Register(s *fuego.Server, svc *Service)
- type Detail
- type Filter
- type Service
- func (s *Service) AddNote(taskID int64, body string) (db.TaskNote, error)
- func (s *Service) AddSubitem(taskID int64, title string) (db.TaskSubitem, error)
- func (s *Service) All() ([]db.Task, error)
- func (s *Service) ClearCompleted() (int, error)
- func (s *Service) Create(title string) (db.Task, error)
- func (s *Service) Delete(id int64) error
- func (s *Service) DeleteSubitem(id int64) error
- func (s *Service) Edit(id int64, title string) (db.Task, error)
- func (s *Service) EditDescription(id int64, description string) (db.Task, error)
- func (s *Service) Get(id int64) (db.Task, error)
- func (s *Service) SetArchived(id int64, archived bool) (db.Task, error)
- func (s *Service) SetCompleted(id int64, completed bool) (db.Task, error)
- func (s *Service) SetStarred(id int64, starred bool) (db.Task, error)
- func (s *Service) SetSubitemCompleted(id int64, completed bool) (db.TaskSubitem, error)
- func (s *Service) Toggle(id int64) (db.Task, error)
- func (s *Service) View(filter Filter) (View, error)
- func (s *Service) ViewTask(filter Filter, selectedID int64) (View, error)
- type Task
- type TaskCreateIn
- type TaskUpdateIn
- type View
- type WebServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) AddSubitem ¶
func (*Service) ClearCompleted ¶
func (*Service) DeleteSubitem ¶
func (*Service) EditDescription ¶
func (*Service) SetArchived ¶
func (*Service) SetCompleted ¶
func (*Service) SetSubitemCompleted ¶
type TaskCreateIn ¶
type TaskUpdateIn ¶
type WebServer ¶
type WebServer struct {
// contains filtered or unexported fields
}
func NewWebServerWithChat ¶
Click to show internal directories.
Click to hide internal directories.