Documentation ¶
Index ¶
- type CommentController
- type LoginController
- type PostController
- func (pc *PostController) Create(c *gin.Context)
- func (pc *PostController) Delete(c *gin.Context)
- func (pc *PostController) Edit(c *gin.Context)
- func (u *PostController) GetPost(c *gin.Context)
- func (u *PostController) GetPostByCategory(c *gin.Context)
- func (u *PostController) GetPostById(c *gin.Context)
- func (u *PostController) GetPostByUserId(c *gin.Context)
- func (u *PostController) Search(c *gin.Context)
- type ProfileController
- type RefreshTokenController
- type SignupController
- type UserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentController ¶
type CommentController struct { CommentUsercase domain.CommentUsecase Env *bootstrap.Env }
func (*CommentController) Create ¶
func (cc *CommentController) Create(c *gin.Context)
func (*CommentController) Delete ¶
func (cc *CommentController) Delete(c *gin.Context)
func (*CommentController) Edit ¶
func (cc *CommentController) Edit(c *gin.Context)
func (*CommentController) GetCommentByPostID ¶
func (cc *CommentController) GetCommentByPostID(c *gin.Context)
type LoginController ¶
type LoginController struct { LoginUsecase domain.LoginUsecase Env *bootstrap.Env }
func (*LoginController) Login ¶
func (lc *LoginController) Login(c *gin.Context)
type PostController ¶
type PostController struct { PostUsercase domain.PostUsecase Env *bootstrap.Env }
func (*PostController) Create ¶
func (pc *PostController) Create(c *gin.Context)
func (*PostController) Delete ¶
func (pc *PostController) Delete(c *gin.Context)
func (*PostController) Edit ¶
func (pc *PostController) Edit(c *gin.Context)
func (*PostController) GetPost ¶
func (u *PostController) GetPost(c *gin.Context)
func (*PostController) GetPostByCategory ¶
func (u *PostController) GetPostByCategory(c *gin.Context)
func (*PostController) GetPostById ¶
func (u *PostController) GetPostById(c *gin.Context)
func (*PostController) GetPostByUserId ¶
func (u *PostController) GetPostByUserId(c *gin.Context)
func (*PostController) Search ¶
func (u *PostController) Search(c *gin.Context)
type ProfileController ¶
type ProfileController struct {
ProfileUsecase domain.ProfileUsecase
}
func (*ProfileController) Fetch ¶
func (pc *ProfileController) Fetch(c *gin.Context)
type RefreshTokenController ¶
type RefreshTokenController struct { RefreshTokenUsecase domain.RefreshTokenUsecase Env *bootstrap.Env }
func (*RefreshTokenController) RefreshToken ¶
func (rtc *RefreshTokenController) RefreshToken(c *gin.Context)
type SignupController ¶
type SignupController struct { SignupUsecase domain.SignupUsecase Env *bootstrap.Env }
func (*SignupController) Signup ¶
func (sc *SignupController) Signup(c *gin.Context)
type UserController ¶
type UserController struct { UserUsecase domain.UserUsecase Env *bootstrap.Env }
func (*UserController) EditUser ¶
func (uc *UserController) EditUser(c *gin.Context)
func (*UserController) GetUserByUserId ¶
func (uc *UserController) GetUserByUserId(c *gin.Context)
func (*UserController) GetUserByUserName ¶
func (uc *UserController) GetUserByUserName(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.