Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContextFunc = new(contextFunc)
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker interface { AccountBelong(id uint, ctx *gin.Context) bool AccountBelongAndGet(accountId uint, ctx *gin.Context) (accountModel.Account, accountModel.User, bool) AccountPermission(accountId uint, permission accountModel.UserPermission, ctx *gin.Context) bool CategoryBelongAndGet(categoryId uint, accountId uint, ctx *gin.Context) (categoryModel.Category, bool) CategoryFatherBelongAndGet(fatherId uint, accountId uint, ctx *gin.Context) (categoryModel.Father, bool) TransactionCategoryBelongAndGet(id interface{}, ctx *gin.Context) ( bool, categoryModel.Category, accountModel.Account) FriendInvitationBelongAndGet(id interface{}, ctx *gin.Context) (bool, userModel.FriendInvitation) }
Click to show internal directories.
Click to hide internal directories.