Documentation
¶
Overview ¶
Package app exposes the application's use-case handlers to input adapters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application groups the use-case handlers exposed by Overmind.
type Commands ¶
type Commands struct {
UpdateRawNote *rawedit.UpdateHandler
UpdatePage *page.UpdateHandler
UpdateInbox *inbox.UpdateHandler
UpdateBookmark *bookmark.UpdateHandler
UpdatePerson *person.UpdateHandler
UpdateHabit *habit.UpdateHandler
DeleteNote *notes.DeleteHandler
Reindex *notes.ReindexHandler
CreateHabit *habit.CreateHandler
CreatePage *page.CreateHandler
CreatePerson *person.CreateHandler
CreateJournal *journal.CreateHandler
UpdateJournal *journal.UpdateHandler
CreateInbox *inbox.CreateHandler
CreateBookmark *bookmark.CreateHandler
}
Commands contains the application's state-changing handlers.
type Dependencies ¶
type Dependencies struct {
Index ports.Index
RawNoteCodec ports.RawNoteCodec
NoteStore ports.NoteStore
Pages ports.PageRepository
Journals ports.JournalRepository
Habits ports.HabitRepository
Persons ports.PersonRepository
Bookmarks ports.BookmarkRepository
Inbox ports.InboxRepository
IDGenerator ports.IDGenerator
}
Dependencies contains the ports required by the application.
type Queries ¶
type Queries struct {
GetRawNote *rawedit.GetHandler
GetPage *page.GetHandler
GetInbox *inbox.GetHandler
GetBookmark *bookmark.GetHandler
GetPerson *person.GetHandler
GetHabit *habit.GetHandler
ListNotes *notes.ListHandler
GetJournal *journal.GetHandler
ListGroups *person.ListGroupsHandler
}
Queries contains read-only application operations.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package bookmark creates, loads and updates saved HTTP and HTTPS links.
|
Package bookmark creates, loads and updates saved HTTP and HTTPS links. |
|
Package habit manages habit documents, goals and descriptive content.
|
Package habit manages habit documents, goals and descriptive content. |
|
Package inbox manages unstructured notes awaiting further organization.
|
Package inbox manages unstructured notes awaiting further organization. |
|
Package journal manages dated entries whose date remains fixed during edits.
|
Package journal manages dated entries whose date remains fixed during edits. |
|
Package notes queries indexed summaries and coordinates deletion and index rebuilding.
|
Package notes queries indexed summaries and coordinates deletion and index rebuilding. |
|
Package page manages titled documents with optional hierarchical areas.
|
Package page manages titled documents with optional hierarchical areas. |
|
Package person manages people and lists group names currently assigned to them.
|
Package person manages people and lists group names currently assigned to them. |
|
Package rawedit loads and updates complete managed AsciiDoc documents.
|
Package rawedit loads and updates complete managed AsciiDoc documents. |
Click to show internal directories.
Click to hide internal directories.