Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlogController ¶
type BlogController struct { }
func (*BlogController) GetBlog ¶
func (blog *BlogController) GetBlog(c interfaces.IContext)
[GET("/blog/:id")]
type RegisterDto ¶
type UserController ¶
type UserController struct {
UserRepo *db.UserRepository
}
func (*UserController) Login ¶
func (user *UserController) Login(c interfaces.IContext, dto LoginDto)
[POST("/login")]
func (*UserController) Register ¶
func (user *UserController) Register(c interfaces.IContext, dto RegisterDto)
[POST("/register")]
Click to show internal directories.
Click to hide internal directories.