Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAuthController ¶
interface yapısı sadece method imzalarını barındırır
func AuthController ¶
func AuthController(authService service.IAuthService, jwtService service.IJWTService) IAuthController
constructor olarak düşünülebilir, struct dışarıya açık olmadığı için bu yapı ile set ediliyor. dependency injection
type IBlogController ¶
type IBlogController interface { All(context *gin.Context) FindByID(context *gin.Context) Insert(context *gin.Context) Update(context *gin.Context) Delete(context *gin.Context) }
func BlogController ¶
func BlogController(blogServ service.IBlogService, jwtServ service.IJWTService) IBlogController
type IUserController ¶
func UserController ¶
func UserController(userService service.IUserService, jwtService service.IJWTService) IUserController
Click to show internal directories.
Click to hide internal directories.