setup(handler): added goto_note_handler
This commit is contained in:
parent
16b41813ca
commit
99e750646e
1 changed files with 15 additions and 0 deletions
15
core/handlers/note/goto_note_handler.go
Normal file
15
core/handlers/note/goto_note_handler.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package note
|
||||
|
||||
import "github.com/KristianJBorgwarth/dendrite.daemon/persistence/repositories"
|
||||
|
||||
type gotoNoteCommand struct {
|
||||
Slug string `json:"slug"`
|
||||
}
|
||||
|
||||
type gotoNoteResult struct {
|
||||
Path string `json:"path"`
|
||||
}
|
||||
|
||||
type GotoNoteHandler struct{
|
||||
noteRepo repositories.INoteRepository
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue