Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConvertHandler ¶
type ConvertHandler struct {
// contains filtered or unexported fields
}
func NewConvertHandler ¶
func NewConvertHandler(convertUC usecase.Convert) *ConvertHandler
func (*ConvertHandler) MarkdownHTML ¶
func (ch *ConvertHandler) MarkdownHTML(c *gin.Context)
type ImageHandler ¶
type ImageHandler struct {
// contains filtered or unexported fields
}
func NewImageHandler ¶
func NewImageHandler(imageUC usecase.Image) *ImageHandler
func (*ImageHandler) GetPresignedURL ¶
func (i *ImageHandler) GetPresignedURL(c *gin.Context)
type LoginHandler ¶
type LoginHandler struct {
// contains filtered or unexported fields
}
func NewLoginHandler ¶
func NewLoginHandler(repository repository.AuthRepository) *LoginHandler
func (*LoginHandler) Login ¶
func (lh *LoginHandler) Login(c *gin.Context)
func (*LoginHandler) Me ¶
func (lh *LoginHandler) Me(c *gin.Context)
type PostHandler ¶
type PostHandler struct {
// contains filtered or unexported fields
}
func NewPostHandler ¶
func NewPostHandler(postUC *usecase.PostUseCase, postsTagsservice *service.PostsTagsService) *PostHandler
func (*PostHandler) DeletePost ¶
func (p *PostHandler) DeletePost(c *gin.Context)
func (*PostHandler) GetPost ¶
func (p *PostHandler) GetPost(c *gin.Context)
func (*PostHandler) GetPosts ¶
func (p *PostHandler) GetPosts(c *gin.Context)
GetPosts は POST /posts に対応するハンドラーです。
func (*PostHandler) StorePost ¶
func (p *PostHandler) StorePost(c *gin.Context)
StorePost は POST /posts に対応するハンドラーです。
func (*PostHandler) UpdatePost ¶
func (p *PostHandler) UpdatePost(c *gin.Context)
UpdatePost は PUT /posts/:id に対応するハンドラーです。
type TagHandler ¶
type TagHandler struct {
// contains filtered or unexported fields
}
func NewTagHandler ¶
func NewTagHandler(tagUC *usecase.TagUseCase) *TagHandler
func (*TagHandler) DeleteTag ¶
func (p *TagHandler) DeleteTag(c *gin.Context)
func (*TagHandler) GetTag ¶
func (p *TagHandler) GetTag(c *gin.Context)
func (*TagHandler) GetTags ¶
func (p *TagHandler) GetTags(c *gin.Context)
GetTags は POST /tags に対応するハンドラーです。
func (*TagHandler) StoreTag ¶
func (p *TagHandler) StoreTag(c *gin.Context)
StoreTag は POST /tags に対応するハンドラーです。
Click to show internal directories.
Click to hide internal directories.