Documentation ¶
Index ¶
- type ArchiveHandler
- type CategoryHandler
- type JournalHandler
- func (j *JournalHandler) CreateComment(ctx *gin.Context) (interface{}, error)
- func (j *JournalHandler) GetJournal(ctx *gin.Context) (interface{}, error)
- func (j *JournalHandler) Like(ctx *gin.Context) (interface{}, error)
- func (j *JournalHandler) ListChildren(ctx *gin.Context) (interface{}, error)
- func (j *JournalHandler) ListComment(ctx *gin.Context) (interface{}, error)
- func (j *JournalHandler) ListCommentTree(ctx *gin.Context) (interface{}, error)
- func (j *JournalHandler) ListJournal(ctx *gin.Context) (interface{}, error)
- func (j *JournalHandler) ListTopComment(ctx *gin.Context) (interface{}, error)
- type LinkHandler
- type OptionHandler
- type PhotoHandler
- type PostHandler
- func (p *PostHandler) CreateComment(ctx *gin.Context) (interface{}, error)
- func (p *PostHandler) Like(ctx *gin.Context) (interface{}, error)
- func (p *PostHandler) ListChildren(ctx *gin.Context) (interface{}, error)
- func (p *PostHandler) ListComment(ctx *gin.Context) (interface{}, error)
- func (p *PostHandler) ListCommentTree(ctx *gin.Context) (interface{}, error)
- func (p *PostHandler) ListTopComment(ctx *gin.Context) (interface{}, error)
- type SheetHandler
- func (s *SheetHandler) CreateComment(ctx *gin.Context) (interface{}, error)
- func (s *SheetHandler) ListChildren(ctx *gin.Context) (interface{}, error)
- func (s *SheetHandler) ListComment(ctx *gin.Context) (interface{}, error)
- func (s *SheetHandler) ListCommentTree(ctx *gin.Context) (interface{}, error)
- func (s *SheetHandler) ListTopComment(ctx *gin.Context) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveHandler ¶
type ArchiveHandler struct { PostService service.PostService PostAssembler assembler.PostAssembler }
func NewArchiveHandler ¶
func NewArchiveHandler(postService service.PostService, postAssemeber assembler.PostAssembler) *ArchiveHandler
func (*ArchiveHandler) ListMonthArchives ¶
func (a *ArchiveHandler) ListMonthArchives(ctx *gin.Context) (interface{}, error)
func (*ArchiveHandler) ListYearArchives ¶
func (a *ArchiveHandler) ListYearArchives(ctx *gin.Context) (interface{}, error)
type CategoryHandler ¶
type CategoryHandler struct { PostService service.PostService CategoryService service.CategoryService CategoryAuthentication authentication.CategoryAuthentication PostAssembler assembler.PostAssembler }
func NewCategoryHandler ¶
func NewCategoryHandler(postService service.PostService, categoryService service.CategoryService, categoryAuthentication *authentication.CategoryAuthentication, postAssembler assembler.PostAssembler) *CategoryHandler
func (*CategoryHandler) ListCategories ¶
func (c *CategoryHandler) ListCategories(ctx *gin.Context) (interface{}, error)
type JournalHandler ¶
type JournalHandler struct { JournalService service.JournalService JournalCommentService service.JournalCommentService OptionService service.ClientOptionService JournalCommentAssembler assembler.JournalCommentAssembler }
func NewJournalHandler ¶
func NewJournalHandler( journalService service.JournalService, journalCommentService service.JournalCommentService, optionService service.ClientOptionService, journalCommentAssembler assembler.JournalCommentAssembler, ) *JournalHandler
func (*JournalHandler) CreateComment ¶
func (j *JournalHandler) CreateComment(ctx *gin.Context) (interface{}, error)
func (*JournalHandler) GetJournal ¶
func (j *JournalHandler) GetJournal(ctx *gin.Context) (interface{}, error)
func (*JournalHandler) ListChildren ¶
func (j *JournalHandler) ListChildren(ctx *gin.Context) (interface{}, error)
func (*JournalHandler) ListComment ¶
func (j *JournalHandler) ListComment(ctx *gin.Context) (interface{}, error)
func (*JournalHandler) ListCommentTree ¶
func (j *JournalHandler) ListCommentTree(ctx *gin.Context) (interface{}, error)
func (*JournalHandler) ListJournal ¶
func (j *JournalHandler) ListJournal(ctx *gin.Context) (interface{}, error)
func (*JournalHandler) ListTopComment ¶
func (j *JournalHandler) ListTopComment(ctx *gin.Context) (interface{}, error)
type LinkHandler ¶
type LinkHandler struct {
LinkService service.LinkService
}
func NewLinkHandler ¶
func NewLinkHandler(linkService service.LinkService) *LinkHandler
func (*LinkHandler) LinkTeamVO ¶
func (l *LinkHandler) LinkTeamVO(ctx *gin.Context) (interface{}, error)
type OptionHandler ¶
type OptionHandler struct {
OptionService service.OptionService
}
func NewOptionHandler ¶
func NewOptionHandler( optionService service.OptionService, ) *OptionHandler
type PhotoHandler ¶ added in v1.0.8
type PhotoHandler struct {
PhotoService service.PhotoService
}
func NewPhotoHandler ¶ added in v1.0.8
func NewPhotoHandler(photoService service.PhotoService) *PhotoHandler
type PostHandler ¶
type PostHandler struct { OptionService service.OptionService PostService service.PostService PostCommentService service.PostCommentService PostCommentAssembler assembler.PostCommentAssembler }
func NewPostHandler ¶
func NewPostHandler( optionService service.OptionService, postService service.PostService, postCommentService service.PostCommentService, postCommentAssembler assembler.PostCommentAssembler, ) *PostHandler
func (*PostHandler) CreateComment ¶
func (p *PostHandler) CreateComment(ctx *gin.Context) (interface{}, error)
func (*PostHandler) ListChildren ¶
func (p *PostHandler) ListChildren(ctx *gin.Context) (interface{}, error)
func (*PostHandler) ListComment ¶
func (p *PostHandler) ListComment(ctx *gin.Context) (interface{}, error)
func (*PostHandler) ListCommentTree ¶
func (p *PostHandler) ListCommentTree(ctx *gin.Context) (interface{}, error)
func (*PostHandler) ListTopComment ¶
func (p *PostHandler) ListTopComment(ctx *gin.Context) (interface{}, error)
type SheetHandler ¶
type SheetHandler struct { OptionService service.OptionService SheetService service.SheetService SheetCommentService service.SheetCommentService SheetCommentAssembler assembler.SheetCommentAssembler }
func NewSheetHandler ¶
func NewSheetHandler( optionService service.OptionService, sheetService service.SheetService, sheetCommentService service.SheetCommentService, sheetCommentAssembler assembler.SheetCommentAssembler, ) *SheetHandler
func (*SheetHandler) CreateComment ¶
func (s *SheetHandler) CreateComment(ctx *gin.Context) (interface{}, error)
func (*SheetHandler) ListChildren ¶
func (s *SheetHandler) ListChildren(ctx *gin.Context) (interface{}, error)
func (*SheetHandler) ListComment ¶
func (s *SheetHandler) ListComment(ctx *gin.Context) (interface{}, error)
func (*SheetHandler) ListCommentTree ¶
func (s *SheetHandler) ListCommentTree(ctx *gin.Context) (interface{}, error)
func (*SheetHandler) ListTopComment ¶
func (s *SheetHandler) ListTopComment(ctx *gin.Context) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.