Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
func NewAuthController ¶
func NewAuthController(authService service.AuthService, jwtService service.JWTService) AuthController
type BookController ¶
type BookController interface {
All(context *gin.Context)
Get(context *gin.Context)
Insert(context *gin.Context)
Update(context *gin.Context)
Delete(context *gin.Context)
}
func NewBookController ¶
func NewBookController(bookService service.BookService, jwtService service.JWTService) BookController
type ReceiptController ¶
type ReceiptController interface {
All(context *gin.Context)
Show(context *gin.Context)
Insert(context *gin.Context)
Update(context *gin.Context)
Delete(context *gin.Context)
RefreshCache(keys ...string)
}
func NewReceiptController ¶
func NewReceiptController(receiptService service.ReceiptService, receiptCache cache.ReceiptCache) ReceiptController
type UserController ¶
func NewUserController ¶
func NewUserController(userService service.UserService, jwtService service.JWTService) UserController
Click to show internal directories.
Click to hide internal directories.