Documentation ¶
Index ¶
- type ArticleController
- func (c *ArticleController) CreateArticleByURL(ctx http.ContextExtended) error
- func (c *ArticleController) DeleteArticle(ctx http.ContextExtended) error
- func (c *ArticleController) DeleteArticles(ctx http.ContextExtended) error
- func (c *ArticleController) FindArticlesByTag(ctx http.ContextExtended) error
- func (c *ArticleController) GetArticle(ctx http.ContextExtended) error
- func (c *ArticleController) GetArticleContent(ctx http.ContextExtended) error
- func (c *ArticleController) Route(e *echo.Echo)
- func (c *ArticleController) SearchArticle(ctx http.ContextExtended) error
- func (c *ArticleController) UpdateContent(ctx http.ContextExtended) error
- func (c *ArticleController) UpdateTags(ctx http.ContextExtended) error
- func (c *ArticleController) UpdateTitle(ctx http.ContextExtended) error
- type ArticleTagController
- type Controller
- type NoteController
- func (c *NoteController) CreateNote(ctx http.ContextExtended) error
- func (c *NoteController) CreateParagraph(ctx http.ContextExtended) error
- func (c *NoteController) DeleteNote(ctx http.ContextExtended) error
- func (c *NoteController) DeleteNotes(ctx http.ContextExtended) error
- func (c *NoteController) DeleteParagraph(ctx http.ContextExtended) error
- func (c *NoteController) EditParagraph(ctx http.ContextExtended) error
- func (c *NoteController) FindNoteTitles(ctx http.ContextExtended) error
- func (c *NoteController) FindNotes(ctx http.ContextExtended) error
- func (c *NoteController) GetNote(ctx http.ContextExtended) error
- func (c *NoteController) Route(e *echo.Echo)
- func (c *NoteController) SearchNote(ctx http.ContextExtended) error
- func (c *NoteController) SwapParagraphs(ctx http.ContextExtended) error
- func (c *NoteController) UpdateTitle(ctx http.ContextExtended) error
- type SettingController
- func (c *SettingController) Auth(ctx http.ContextExtended) error
- func (c *SettingController) GetAuth(ctx http.ContextExtended) error
- func (c *SettingController) GetEditorKeyboardHandler(ctx http.ContextExtended) error
- func (c *SettingController) ObtainPocketRequestToken(ctx http.ContextExtended) error
- func (c *SettingController) Route(e *echo.Echo)
- func (c *SettingController) SetEditorKeyboardHandler(ctx http.ContextExtended) error
- func (c *SettingController) ToggleSync(ctx http.ContextExtended) error
- func (c *SettingController) Unauth(ctx http.ContextExtended) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleController ¶
type ArticleController struct {
// contains filtered or unexported fields
}
func NewArticleController ¶
func NewArticleController( articleService services.ArticleService, articleDatastore datastore.ArticleDatastore, ) *ArticleController
func (*ArticleController) CreateArticleByURL ¶
func (c *ArticleController) CreateArticleByURL(ctx http.ContextExtended) error
func (*ArticleController) DeleteArticle ¶
func (c *ArticleController) DeleteArticle(ctx http.ContextExtended) error
func (*ArticleController) DeleteArticles ¶
func (c *ArticleController) DeleteArticles(ctx http.ContextExtended) error
func (*ArticleController) FindArticlesByTag ¶
func (c *ArticleController) FindArticlesByTag(ctx http.ContextExtended) error
func (*ArticleController) GetArticle ¶
func (c *ArticleController) GetArticle(ctx http.ContextExtended) error
func (*ArticleController) GetArticleContent ¶ added in v0.10.0
func (c *ArticleController) GetArticleContent(ctx http.ContextExtended) error
func (*ArticleController) Route ¶
func (c *ArticleController) Route(e *echo.Echo)
func (*ArticleController) SearchArticle ¶
func (c *ArticleController) SearchArticle(ctx http.ContextExtended) error
func (*ArticleController) UpdateContent ¶
func (c *ArticleController) UpdateContent(ctx http.ContextExtended) error
func (*ArticleController) UpdateTags ¶
func (c *ArticleController) UpdateTags(ctx http.ContextExtended) error
func (*ArticleController) UpdateTitle ¶
func (c *ArticleController) UpdateTitle(ctx http.ContextExtended) error
type ArticleTagController ¶
type ArticleTagController struct {
// contains filtered or unexported fields
}
func NewArticleTagController ¶
func NewArticleTagController( articleTagDatastore datastore.ArticleTagDatastore, articleDatastore datastore.ArticleDatastore, ) *ArticleTagController
func (*ArticleTagController) FindArticleTagCounts ¶
func (c *ArticleTagController) FindArticleTagCounts(ctx http.ContextExtended) error
func (*ArticleTagController) Route ¶
func (c *ArticleTagController) Route(e *echo.Echo)
func (*ArticleTagController) UpdateTag ¶
func (c *ArticleTagController) UpdateTag(ctx http.ContextExtended) error
type Controller ¶ added in v0.15.5
type Controller interface {
Route(e *echo.Echo)
}
type NoteController ¶
type NoteController struct {
// contains filtered or unexported fields
}
func NewNoteController ¶
func NewNoteController( noteService services.NoteService, noteDatastore datastore.NoteDatastore, articleDatastore datastore.ArticleDatastore, paragraphDatastore datastore.ParagraphDatastore, ) *NoteController
func (*NoteController) CreateNote ¶
func (c *NoteController) CreateNote(ctx http.ContextExtended) error
func (*NoteController) CreateParagraph ¶
func (c *NoteController) CreateParagraph(ctx http.ContextExtended) error
func (*NoteController) DeleteNote ¶
func (c *NoteController) DeleteNote(ctx http.ContextExtended) error
func (*NoteController) DeleteNotes ¶
func (c *NoteController) DeleteNotes(ctx http.ContextExtended) error
func (*NoteController) DeleteParagraph ¶
func (c *NoteController) DeleteParagraph(ctx http.ContextExtended) error
func (*NoteController) EditParagraph ¶
func (c *NoteController) EditParagraph(ctx http.ContextExtended) error
func (*NoteController) FindNoteTitles ¶
func (c *NoteController) FindNoteTitles(ctx http.ContextExtended) error
func (*NoteController) FindNotes ¶
func (c *NoteController) FindNotes(ctx http.ContextExtended) error
func (*NoteController) GetNote ¶
func (c *NoteController) GetNote(ctx http.ContextExtended) error
func (*NoteController) Route ¶
func (c *NoteController) Route(e *echo.Echo)
func (*NoteController) SearchNote ¶
func (c *NoteController) SearchNote(ctx http.ContextExtended) error
func (*NoteController) SwapParagraphs ¶
func (c *NoteController) SwapParagraphs(ctx http.ContextExtended) error
func (*NoteController) UpdateTitle ¶
func (c *NoteController) UpdateTitle(ctx http.ContextExtended) error
type SettingController ¶
type SettingController struct {
// contains filtered or unexported fields
}
func NewSettingController ¶
func NewSettingController( pocketService services.PocketService, settingService services.SettingService, ) *SettingController
func (*SettingController) Auth ¶
func (c *SettingController) Auth(ctx http.ContextExtended) error
func (*SettingController) GetAuth ¶
func (c *SettingController) GetAuth(ctx http.ContextExtended) error
func (*SettingController) GetEditorKeyboardHandler ¶ added in v0.11.0
func (c *SettingController) GetEditorKeyboardHandler(ctx http.ContextExtended) error
func (*SettingController) ObtainPocketRequestToken ¶
func (c *SettingController) ObtainPocketRequestToken(ctx http.ContextExtended) error
func (*SettingController) Route ¶
func (c *SettingController) Route(e *echo.Echo)
func (*SettingController) SetEditorKeyboardHandler ¶ added in v0.11.0
func (c *SettingController) SetEditorKeyboardHandler(ctx http.ContextExtended) error
func (*SettingController) ToggleSync ¶
func (c *SettingController) ToggleSync(ctx http.ContextExtended) error
func (*SettingController) Unauth ¶
func (c *SettingController) Unauth(ctx http.ContextExtended) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.